.auth-section {
    min-height: 100vh;
    background: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #8B0000;
}

.auth-card form p {
    margin-bottom: 20px;
}

.auth-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-card input,
.auth-card select,
.auth-card textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
}

.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus {
    border-color: #8B0000;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: #8B0000;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.auth-submit-btn:hover {
    background: #6f0000;
}

.role-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.role-card {
    background: white;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.role-card:hover {
    transform: translateY(-8px);
}

.role-card h3 {
    margin-bottom: 15px;
    color: #8B0000;
}

.role-card p {
    margin-bottom: 20px;
    color: #666;
}

.role-card a {
    display: inline-block;
    padding: 10px 20px;
    background: #8B0000;
    color: white;
    text-decoration: none;
    border-radius: 30px;
}

.auth-card textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
    resize: vertical;
}

.password-wrapper {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

.password-wrapper input {
    width: 100% !important;
    padding: 14px 45px 14px 14px !important;
    box-sizing: border-box !important;
}

.toggle-eye {
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    color: #555 !important;
    z-index: 10 !important;
    line-height: 1 !important;
}

.form-group {
    margin-bottom: 20px;
}
.toggle-eye:hover {
    color: #000;
}

.alert-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 99999;
}

@media (max-width: 768px) {
    .auth-section {
        padding: 30px 15px;
        align-items: flex-start;
    }

    .auth-card {
        max-width: 100%;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .auth-card h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .auth-card label {
        font-size: 14px;
    }

    .auth-card input,
    .auth-card select,
    .auth-card textarea {
        padding: 12px;
        font-size: 14px;
    }

    .auth-submit-btn {
        padding: 12px;
        font-size: 15px;
    }

    .role-selection {
        grid-template-columns: 1fr;
    }

    .role-card {
        padding: 22px 16px;
    }

    .password-wrapper input {
        padding-right: 42px !important;
    }

    .toggle-eye {
        right: 12px !important;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 20px 14px;
    }

    .auth-card h2 {
        font-size: 22px;
    }
}