/* Login Page Specific Styling */
:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8f9fa;
    --card-bg: rgba(0, 0, 0, 0.02);
    --hover-bg: rgba(0, 0, 0, 0.05);
    --primary-text: #333333;
    --secondary-text: #6c757d;
    --accent-color: #4c6ef5;
    --border-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

/* Login layout */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 1100px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.login-container .row {
    margin: 0;
}

/* Left side with animation */
.voice-illustration {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 600px;
    padding: 0;
}

.sound-wave-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.sound-wave {
    width: 4px;
    height: 35px;
    margin: 0 5px;
    background-color: #000000;
    border-radius: 5px;
    animation: sound-wave-anim 1.2s infinite ease-in-out;
}

.sound-wave:nth-child(1) { animation-delay: 0s; }
.sound-wave:nth-child(2) { animation-delay: 0.2s; }
.sound-wave:nth-child(3) { animation-delay: 0.4s; }
.sound-wave:nth-child(4) { animation-delay: 0.6s; }
.sound-wave:nth-child(5) { animation-delay: 0.8s; }

@keyframes sound-wave-anim {
    0%, 100% {
        height: 35px;
    }
    50% {
        height: 100px;
    }
}

/* Right side with login form */
.login-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login_left_image img{
    width: 100%;
    max-width: 440px;
}
.login_left_image{
    padding: 20px;
}
.login-form {
    width: 100%;
    max-width: 420px;
}

.voice-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.login-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--secondary-text);
    font-size: 1rem;
}
.login-btn{
    padding: 10px 10px;
}

/* Form elements */
.form-floating {
    position: relative;
}

.form-control {
    padding: 1rem 0.75rem;
    line-height: 1.5;
    height: calc(3.5rem + 2px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(76, 110, 245, 0.25);
}

.form-floating label {
    padding: 1rem 0.75rem;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    color: var(--secondary-text);
}

.form-check-input:checked {
    background-color: var(--primary-text);
    border-color: var(--primary-text);
}

.forgot-password {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.register-text {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.register-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.register-text a:hover {
    text-decoration: underline;
}

/* OTP styles */
.otp-input-container {
    width: 100%;
}

#otp_code {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 600;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    
    .login-form-container {
        padding: 20px;
    }
    
    .login-form {
        max-width: 100%;
    }
    
    .voice-illustration {
        display: none !important;
    }
}

/* Enhanced HIPAA Policy Document Styling */
.policy-document {
    font-family: 'Arial', sans-serif;
    position: relative;
    padding: 0.5rem;
}

.policy-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.policy-date {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.policy-document p {
    text-align: justify;
}

.policy-footer {
    margin-top: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

#hipaaModal .modal-content {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: none;
    border-radius: 8px;
    background: linear-gradient(to bottom, #fcfcfc, #f9f9f9);
}

#hipaaModal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--primary-color);
    padding: 1.5rem;
}

#hipaaModal .modal-title {
    font-weight: 700;
    color: #212529;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

#hipaaModal .modal-title i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

#hipaaModal .modal-body {
    padding: 2rem;
    background-color: #fff;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

#hipaaModal h6 {
    color: #212529;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 8px;
}

#hipaaModal h6:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

#hipaaModal p {
    margin-bottom: 1rem;
}

#hipaaModal ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

#hipaaModal ul li {
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
}

#hipaaModal ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

#hipaaModal hr {
    margin: 1.5rem 0;
    opacity: 0.15;
}

#hipaaModal .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.scrollable-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
}

/* Policy document style for signup page */
.terms-container {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.terms-container h4 {
    background-color: #f8f9fa;
    color: #212529;
    padding: 1rem;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 1.2rem;
    font-weight: 600;
}

.terms-container .scrollable-content {
    max-height: 250px;
    border: none;
    border-radius: 0;
}

.terms-container h6 {
    color: #212529;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-check-label a {
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Enhanced HIPAA Privacy & Security Notice Styling */
.policy-document {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #2c3e50;
    max-height: 60vh;
    overflow-y: auto;
    padding: 16px 20px 16px 16px;
    background-color: #fafbfc;
    border-radius: 6px;
}

.policy-document h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a252f;
    margin: 20px 0 10px 0;
    border-left: 3px solid #28a745;
    padding-left: 12px;
    background-color: rgba(40, 167, 69, 0.05);
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 0 4px 4px 0;
}

.policy-document p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 14px;
    color: #34495e;
    font-weight: 400;
}

.policy-document ul {
    margin: 10px 0 18px 0;
    padding-left: 22px;
}

.policy-document li {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 400;
}

.policy-document li strong {
    font-weight: 600;
    color: #1a252f;
}

.policy-document .policy-footer {
    font-size: 12px;
    font-weight: 500;
    color: #1a252f;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    background-color: rgba(40, 167, 69, 0.03);
    padding: 16px;
    border-radius: 4px;
}

/* Modal specific styling */
#hipaaModal .modal-dialog {
    max-width: 750px;
}

#hipaaModal .modal-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a252f;
}

#hipaaModal .modal-body {
    padding: 20px 24px;
}

/* Custom scrollbar for policy document */
.policy-document::-webkit-scrollbar {
    width: 6px;
}

.policy-document::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 3px;
}

.policy-document::-webkit-scrollbar-thumb {
    background: #c1c8cd;
    border-radius: 3px;
}

.policy-document::-webkit-scrollbar-thumb:hover {
    background: #a0a7ac;
}

/* Responsive adjustments for policy document */
@media (max-width: 768px) {
    #hipaaModal .modal-body {
        padding: 1.5rem;
    }
    
    #hipaaModal .modal-title {
        font-size: 1.3rem;
    }
    
    .policy-document h6 {
        font-size: 13px;
    }
    
    .policy-document {
        font-size: 12px;
        padding: 12px 16px 12px 12px;
    }
    
    .policy-document p,
    .policy-document li {
        font-size: 12px;
    }
} 