/* Login Page Styles */
.login-page-wrapper {
    background-color: #f8f9fd;
}

.login-container {
    min-height: 600px;
    margin-bottom: 30px;
    box-shadow: 1px 4px 20px -2px rgba(104, 44, 95, 0.19);
    margin-left: 0px;
    background: url('../../images/back12.png');
}

.login-form-section {
    min-height: 600px;
    background-color: white;
    margin-left: 0px;
}

.login-form-container {
    margin-top: 20px;
    background-color: white;
    padding-left: 10%;
}

.login-header {
    font-size: 25px;
    text-align: left;
    padding-top: 30px;
    font-weight: 600;
    color: #0a6d33;
}

.flip-link {
    color: #2998b3;
    text-decoration: none;
    float: right;
    margin-right: 10%;
}

.flip-link:hover {
    color: #1a7a8c;
    text-decoration: underline;
}

.validation-error {
    height: 40px;
    color: red;
    text-align: left;
    font-weight: 800;
    padding-top: 10px;
}

.form-label {
    font-size: 15px;
    text-align: left;
    font-weight: 800;
    color: #393535;
}

.required-field {
    color: red;
    font-size: 15px;
}

.form-input-login, #username,#firstname, #lastname, #mailid {
    width: 80%;
    height: 35px;
    border-radius: 20px;
    background-color: #f6f6f6;
    color: #737171;
    border-width: 0.1px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    outline: none;
    text-indent: 5px;
}
.password-input, #password, #rpassword ,#cpassword{
    width: 65%;
    height: 35px;
    border-radius: 20px 0px 0px 20px;
    background-color: #f6f6f6;
    color: #737171;
    border-width: 0.1px 0px 0.1px 0.1px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    outline: none;
    text-indent: 5px;
}
.form-input-login:focus {
    background-color: #f0f0f0;
    border-color: #b60128;
}

.password-container {
    display: flex;
}



.password-toggle {
    width: 15%;
    height: 43px;
    border-radius: 0px 20px 20px 0px;
    background-color: #f6f6f6;
    color: #737171;
    border-width: 0.1px 0.1px 0.1px 0px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    outline: none;
    border-color: #cccccc;
    border-style: solid;
    line-height: 43px;
    text-align: center;
    cursor: pointer;
}

.password-toggle:hover {
    background-color: #e8e8e8;
}

.eye-symbol {
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.eye-symbol:hover {
    opacity: 0.5;
}

.submit-button {
    width: 70%;
    height: 40px;
    border-width: 0px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    background-color: #b60128;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #8f0120;
}

.submit-button:active {
    transform: translateY(1px);
}

.remember-forgot-container {
    display: flex;
    flex-wrap: wrap;
}

.remember-me {
    text-align: left;
    font-size: 17px;
    font-weight: 700;
}

.remember-checkbox {
    margin-top: 0px;
    height: 20px;
    width: 20px;
    cursor: pointer;
}

.remember-text {
    line-height: 20px;
    padding-left: 10px;
}

.forgot-password {
    text-align: right;
    font-size: 17px;
    font-weight: 700;
    float: right;
    width: 50%;
}

.forgot-link {
    text-decoration: none;
    color: #9c9b9b;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #b60128;
}

.divider-container {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.divider-line {
    width: 20%;
}

.divider-text {
    line-height: 40px;
    margin-left: 10px;
    margin-right: 10px;
    color: #cec7be;
}

.google-signin-container {
    margin-right: 5%;
}

.google-signin-wrapper {
    text-align: left;
    margin-left: 20%;
}

/* Google Sign-in Button Styles */
.login-with-google-btn {
    transition: background-color .3s, box-shadow .3s;
    padding: 12px 16px 12px 42px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    color: #757575;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
    background-color: white;
    background-repeat: no-repeat;
    background-position: 12px 11px;
    cursor: pointer;
}

.login-with-google-btn:hover {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
}

.login-with-google-btn:active {
    background-color: #eeeeee;
}

.login-with-google-btn:focus {
    outline: none;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25), 0 0 0 3px #c8dafc;
}

.login-with-google-btn:disabled {
    filter: grayscale(100%);
    background-color: #ebebeb;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    cursor: not-allowed;
}

/* Country Code Select */
.country-code-select {
    width: 15%;
    height: 43px;
    border-radius: 20px 0px 0px 20px;
    background-color: #f6f6f6;
    color: #737171;
    border-width: 0.1px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    outline: none;
    cursor: pointer;
}

.phone-input, #number {
    width: 65%;
    height: 35px;
    border-radius: 0px 20px 20px 0px;
    background-color: #f6f6f6;
    color: #737171;
    border-width: 0.1px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    outline: none;
    text-indent: 5px;
}

/* Result Section */
.result-section {
    min-height: 600px;
    margin-left: 0px;
    text-align: center;
}

.logo-image {
    margin-top: 30px;
}

.tagline {
    color: #fdfcfc;
    opacity: 0.7;
    letter-spacing: 1px;
    font-weight: 700;
}

.message-container {
    padding: 40px;
    font-size: 21px;
    color: #eccccc;
    line-height: 32px;
}

.message-image {
    margin-top: 10px;
}

/* Multi-Step Form Styles */
.progress-container {
    margin: 20px 0;
    padding: 0 10%;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 30px;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: #b60128;
    color: white;
    box-shadow: 0 2px 8px rgba(182, 1, 40, 0.3);
}

.progress-step.completed {
    background: #0a6d33;
    color: white;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #0a6d33;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
    padding-bottom: 20px;
}

.prev-btn, .next-btn, .submit-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prev-btn {
    background: #f0f0f0;
    color: #666;
    border: 2px solid #e0e0e0;
}

.prev-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.next-btn {
    background: #b60128;
    color: white;
    margin-left: auto;
    margin-right: 10%;
}

.next-btn:hover {
    background: #8f0120;
    transform: translateY(-1px);
}

.next-btn:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    transform: none;
    opacity: 0.5;
}

.next-btn:disabled:hover {
    background: #cccccc;
    transform: none;
}

.submit-btn {
    background: #0a6d33;
    color: white;
    margin-left: auto;
    margin-right: 10%;
}

.submit-btn:hover {
    background: #085a2a;
    transform: translateY(-1px);
}

.radio-group {
    margin-left: 10%;
    display: flex;
    flex-direction: column;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 3px 0;
}

.radio-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    font-size: 14px;
}

.radio-text {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    padding-left: 10px;
}

.checkbox-group {
    margin-left: 1%;
    display: flex;
    flex-direction: column;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 3px 0;
}

.checkbox-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-text {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    padding-left: 10px;
}

.policy-link {
    color: #b60128;
    text-decoration: none;
    font-weight: 600;
}

.policy-link:hover {
    text-decoration: underline;
}

.submit-btn:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    background: #cccccc;
    transform: none;
}

/* Policy Modal Styles */
.policy-btn {
    background: none;
    border: none;
    color: #b60128;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin: 0 2px;
    font-size: inherit;
    font-family: inherit;
}

/* Forgot Password Modal Styles */
.forgot-modal {
    display: block;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.forgot-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.forgot-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-radius: 10px 10px 0 0;
}

.forgot-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.forgot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.forgot-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.forgot-modal-body {
    padding: 25px;
}

.forgot-modal-text {
    margin-bottom: 20px;
    text-align: center;
}

.forgot-modal-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.forgot-modal-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

 #forgot-email {
    width: 95%;
    height: 35px;
    border-radius: 20px;
    background-color: #f6f6f6;
    color: #737171;
    border-width: 0.1px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    outline: none;
    text-indent: 5px;
}

.forgot-email-input:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.1);
}

.forgot-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
}

.forgot-modal-buttons .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.forgot-modal-buttons .btn-primary {
    background: #ff6b6b;
    color: white;
}

.forgot-modal-buttons .btn-primary:hover {
    background: #ee5a24;
}

.forgot-modal-buttons .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.forgot-modal-buttons .btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.forgot-modal-buttons .btn-secondary:hover {
    background: #e9ecef;
    color: #333;
}

#forgot-email-error {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.policy-btn:hover {
    text-decoration: underline;
    color: #8f0120;
}

.policy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.policy-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    max-height: 60vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.policy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #b60128 0%, #8f0120 100%);
    color: white;
    border-radius: 10px 10px 0 0;
}

.policy-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color:white;
}

.policy-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.policy-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.policy-modal-body {
    padding: 0;
    max-height: 40vh;
    overflow: hidden;
}

.policy-content {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.6;
    text-align: left;
}

.policy-content h4 {
    color: #b60128;
    margin: 20px 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.policy-content h4:first-child {
    margin-top: 0;
}

.policy-content p {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 14px;
    text-align: left;
}

/* Scrollbar styling for policy content */
.policy-content::-webkit-scrollbar {
    width: 8px;
}

.policy-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.policy-content::-webkit-scrollbar-thumb {
    background: #b60128;
    border-radius: 4px;
}

.policy-content::-webkit-scrollbar-thumb:hover {
    background: #8f0120;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    .form-input-login, #username, #firstname, #lastname, #mailid {
    width: 95%;
    height: 35px;
    border-radius: 20px;
    background-color: #f6f6f6;
    color: #737171;
    border-width: 0.1px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    outline: none;
    text-indent: 5px;
}
.password-input, #password, #rpassword ,#cpassword{
    width: 65%;
    height: 35px;
    border-radius: 20px 0px 0px 20px;
    background-color: #f6f6f6;
    color: #737171;
    border-width: 0.1px 0px 0.1px 0.1px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    outline: none;
    text-indent: 5px;
}

    .login-form-container {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .form-input,
    .submit-button {
        width: 100%;
    }
    
    .password-input {
        width: 70%;
    }
    
    .password-toggle {
        width: 30%;
    }
    
    .country-code-select {
        width: 25%;
    }
    
    .phone-input {
        width: 75%;
    }
    
    .remember-forgot-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .forgot-password {
        width: 100%;
        text-align: left;
        float: none;
    }
    
    .google-signin-wrapper {
        margin-left: 0;
        text-align: center;
    }
    
    .step-buttons {
        flex-direction: column;
        padding-bottom: 20px;
    }
    
    .prev-btn, .next-btn, .submit-btn {
        width: 100%;
        margin: 5px 0;
        margin-right: 10%;
    }
    
    .progress-container {
        padding: 0 5%;
    }
    
    .progress-step {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Mobile Policy Modal Styles */
    .policy-modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .policy-modal-header {
        padding: 15px 20px;
    }
    
    .policy-modal-header h3 {
        font-size: 18px;
    }
    
    .policy-content {
        padding: 20px;
        max-height: 50vh;
        text-align: left;
    }
    
    .policy-content h4 {
        font-size: 15px;
        margin: 15px 0 8px 0;
    }
    
    .policy-content p {
        font-size: 13px;
        margin: 0 0 12px 0;
        text-align: left;
    }
    
    .policy-close-btn {
        width: 25px;
        height: 25px;
        font-size: 20px;
    }
    

}