/* Auth Page Styles */
.auth-page {
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 100%;
    margin: 30px;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 10px;
}

.auth-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 500;
}
.password-strength {
            margin-top: 8px;
            height: 4px;
            background: #f0f0f0;
            border-radius: 2px;
            overflow: hidden;
        }
        .strength-bar {
            height: 100%;
            width: 0;
            transition: width 0.3s, background 0.3s;
        }
        .strength-bar.weak {
            width: 30%;
            background: #ff4757;
        }
        .strength-bar.medium {
            width: 60%;
            background: #ffa502;
        }
        .strength-bar.strong {
            width: 100%;
            background: #2ed573;
        }
        .strength-text {
            font-size: 12px;
            color: #7f8c8d;
            margin-top: 4px;
        }
        .input-hint {
            font-size: 12px;
            color: #7f8c8d;
            margin-top: 4px;
        }
        .auth-logo {
            height: 60px;
            width: 70%;
            margin: auto;
        }
        .forgot-password {
            color: #0394D9;
            text-decoration: none;
            font-size: 14px;
        }
        .forgot-password:hover {
            text-decoration: underline;
        }
.auth-header p {
    color: #7f8c8d;
    font-size: 15px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
}

.input-with-icon input {
    width: 100%;
    padding: 8px 15px 8px 39px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.input-with-icon input:focus {
    border-color: #0394D9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 148, 217, 0.1);
}

.toggle-password {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #95a5a6;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ddd;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #0394D9;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.btn-primary {
    background-color: #0394D9;
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: #0280c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 148, 217, 0.2);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #95a5a6;
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ecf0f1;
}

.auth-divider::before {
    margin-right: 10px;
}

.auth-divider::after {
    margin-left: 10px;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #ddd;
    background: white;
}

.btn-social.google:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.btn-social.linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.btn-social.linkedin:hover {
    background: #00669b;
}

.auth-footer {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
}

.auth-footer a {
    color: #0394D9;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 8px;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s, background 0.3s;
}

.strength-bar.weak {
    width: 30%;
    background: #ff4757;
}

.strength-bar.medium {
    width: 60%;
    background: #ffa502;
}

.strength-bar.strong {
    width: 100%;
    background: #2ed573;
}

.strength-text {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 4px;
}

.input-hint {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 4px;
}

/* Select dropdown styling */
.input-with-icon select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

/* Text links */
.text-link {
    color: #0394D9;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}



/* Change Password Specific Styles */
.password-criteria {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.password-criteria h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.password-criteria ul {
    list-style-type: none;
    padding-left: 5px;
}

.password-criteria li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    color: #7f8c8d;
}

.password-criteria li:before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ff4757;
}

.password-criteria li.valid {
    color: #2ecc71;
}

.password-criteria li.valid:before {
    content: "\f00c";
    color: #2ecc71;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .auth-container {
        padding: 20px;
    }
    
    .password-criteria {
        padding: 10px;
    }
}
