/* Custom styles for Kowrry Health System */

/* Color scheme: White and Light Blue */
:root {
    --kowrry-light-blue: #4a9dff;
    --kowrry-blue: #0d6efd;
    --kowrry-dark-blue: #0a58ca;
    --kowrry-lightest-blue: #e6f2ff;
}

body {
    background-color: #ffffff;
    color: #333333;
}

.navbar, .card-header.bg-primary, .btn-primary {
    background-color: var(--kowrry-light-blue) !important;
    border-color: var(--kowrry-light-blue) !important;
}

.btn-outline-primary {
    color: var(--kowrry-light-blue) !important;
    border-color: var(--kowrry-light-blue) !important;
}

.btn-outline-primary:hover {
    background-color: var(--kowrry-light-blue) !important;
    color: white !important;
}

.badge.bg-primary {
    background-color: var(--kowrry-light-blue) !important;
}

.text-primary {
    color: var(--kowrry-light-blue) !important;
}

.bg-light-blue {
    background-color: var(--kowrry-lightest-blue);
}

.footer {
    background-color: var(--kowrry-blue) !important;
    color: white !important;
}

.search-container {
    background-color: var(--kowrry-lightest-blue);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

/* Additional styling beyond Bootstrap */
.registration-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-card {
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.chart-container {
    height: 300px;
    margin-bottom: 30px;
}

.payment-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Login form styling */
.login-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

/* Custom success message styling */
.success-message {
    text-align: center;
    padding: 50px 20px;
}

.success-icon {
    font-size: 3rem;
    color: var(--bs-success);
    margin-bottom: 20px;
}

/* Profile section */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.patient-info {
    margin-left: 20px;
}

.patient-info h2 {
    margin-bottom: 5px;
}

.payment-history {
    margin-top: 40px;
}

/* Footer styles */
footer {
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Voice Assistant styles */
.voice-assistant-container {
    background-color: var(--kowrry-lightest-blue);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.voice-assistant-header {
    background: linear-gradient(135deg, var(--kowrry-blue) 0%, var(--kowrry-light-blue) 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.voice-assistant-header h2 {
    font-weight: 700;
    margin-bottom: 0;
}

.voice-assistant-mic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.mic-animation-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(74, 157, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mic-animation-ring::before,
.mic-animation-ring::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(74, 157, 255, 0.1);
    z-index: -1;
}

.mic-animation-ring.active::before {
    animation: pulse 2s infinite;
}

.mic-animation-ring.active::after {
    animation: pulse 2s infinite 0.5s;
}

.mic-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--kowrry-light-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.mic-button:hover {
    transform: scale(1.1);
    background-color: var(--kowrry-blue);
}

.mic-button:active {
    transform: scale(0.95);
}

.mic-button i {
    font-size: 24px;
}

.mic-status {
    margin-top: 15px;
    font-weight: 500;
    color: #666;
}

.voice-suggestion {
    background-color: rgba(74, 157, 255, 0.1);
    padding: 10px 15px;
    border-radius: 20px;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.voice-suggestion:hover {
    background-color: rgba(74, 157, 255, 0.2);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
