@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,600;14..32,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0B132B 0%, #1C2541 100%);
    min-height: 100vh;
    position: relative;
}

/*patron fondo*/
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(249, 115, 22, 0.08) 1.5px, transparent 1.5px);
    background-size: 35px 35px;
    pointer-events: none;
}

/*card de login*/
.card {
    background: rgba(28, 37, 65, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(42, 75, 124, 0.5);
    border-radius: 28px !important;
    box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    color: #F8FAFC;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 50px -12px rgba(249, 115, 22, 0.2);
}

/*logo*/
.card .text-center img {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    max-width: 150px;
}

/*titulo con degradado*/
.card h2 {
    font-weight: 700;
    font-size: 1.9rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #F97316 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    margin-bottom: 1.8rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #A0B3D9;
    margin-bottom: 0.4rem;
}

.form-control {
    background-color: #0A1121;
    border: 1px solid #2A3B5C;
    border-radius: 14px;
    padding: 12px 16px;
    color: #F8FAFC;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus {
    background-color: #0C1428;
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
    color: #FFFFFF;
    outline: none;
}

.form-control::placeholder {
    color: #5A6E91;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(95deg, #F97316 0%, #FF8C2E 100%);
    border: none;
    border-radius: 40px;
    padding: 12px 20px;
    font-weight: 700;
    letter-spacing: 0.8px;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    margin-top: 8px;
}

.btn-primary:hover {
    background: linear-gradient(95deg, #E05E00 0%, #FF7A1A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.5);
}

.btn-primary:active {
    transform: translateY(1px);
}

/*alertas*/
.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    border-left: 4px solid #F97316;
    color: #FFB8A2;
    border-radius: 16px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/*enlaces adicional*/
.extra-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
}

.extra-links a {
    color: #F97316;
    text-decoration: none;
    transition: color 0.2s;
}

.extra-links a:hover {
    color: #FFAD6A;
    text-decoration: underline;
}

/*responsive*/
@media (max-width: 576px) {
    .card {
        margin: 20px;
        padding: 0.8rem !important;
    }
    .card h2 {
        font-size: 1.5rem;
    }

}