/* :root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
} */

.illustration {
    background: linear-gradient(135deg, #4a6cf7 0%, #2541b2 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.illustration::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -150px;
    right: -150px;
}

.illustration::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -100px;
    left: -100px;
}

.illustration img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 30px;
    z-index: 1;
}

.illustration h2 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    z-index: 1;
}

.illustration p {
    text-align: center;
    opacity: 0.9;
    margin-bottom: 30px;
    z-index: 1;
}

.form-container {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    max-width: 150px;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-title h1 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.form-title p {
    color: var(--secondary-color);
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
    background-color: #fff;
}

.form-control::placeholder {
    color: #aaa;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.input-icon input {
    padding-left: 45px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.btn:hover {
    background: #3a5bd9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

.btn i {
    margin-left: 5px;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--secondary-color);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.login-link a:hover {
    text-decoration: underline;
}

.form-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: var(--secondary-color);
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .illustration {
        display: none;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 30px 20px;
    }

    .row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Custom select styles */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--secondary-color);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    background-image: none;
}

/* Password strength indicator */
.password-strength {
    height: 4px;
    background: #eee;
    margin-top: 5px;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    background: #dc3545;
    transition: width 0.3s ease;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    font-weight: normal;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip i {
    color: var(--secondary-color);
}