/* Background */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #007bff, #00a2ff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Outer container */
.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* Card */
.auth-box {
    background: #fff;
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: fadeIn .5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-box h2 {
    margin-bottom: 25px;
    text-align: center;
    color: #222;
    font-weight: 600;
}

/* Alerts */
.alert {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-danger { background: #ffdddd; color: #bb0000; }
.alert-success { background: #ddffdd; color: #008800; }

/* Inputs */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 5px;
    border: 1px solid #cfd2d4;
    border-radius: 8px;
    font-size: 15px;
    transition: .3s;
}

.input-group input:focus {
    border-color: #007bff;
    outline: none;
}

/* Button */
.btn-primary {
    width: 100%;
    padding: 12px;
    background: #007bff;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
}

.btn-primary:hover {
    background: #005fcc;
}

/* Link */
.switch-link {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

.switch-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}


.input-group select {
    width: 100%;
    padding: 12px 14px;
    margin-top: 5px;
    border: 1px solid #cfd2d4;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    transition: .3s;
}

.input-group select:focus {
    border-color: #007bff;
    outline: none;
}




.switch-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}
.switch-link a:hover {
    text-decoration: underline;
}
