﻿body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    background: linear-gradient( 135deg, #5a1416 0%, #7c1b1f 18%, #a32227 42%, #c92d2f 65%, #b32628 82%, #8e1f22 100% );
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-container {
    width: 100%;
    min-height: calc(100vh / var(--tmg-zoom, 1));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.login-card {
    width: 350px;
    background: rgba(255,255,255,0.97);
    border-radius: 24px;
    position: relative;
    box-shadow: 0 15px 45px rgba(0,0,0,0.25);
    overflow: hidden;
    padding-bottom: 45px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

.logo-circle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .logo-circle img {
        width: 150px;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
    }

.login-content {
    padding: 12px 30px 12px;
    text-align: center;
}

.login-subtitle {
    color: #d72427;
    font-size: 20px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}
    .login-subtitle::after {
        content: "";
        display: block;
        width: 250px;
        height: 3px;
        background: #d72427;
        margin: 12px auto 0;
        border-radius: 10px;
    }

/* INPUTS */
.input-group-custom {
    position: relative;
    margin-bottom: 12px;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7a7a7a;
    z-index: 5;
}

.custom-input {
    height: 40px;
    border-radius: 12px;
    border: 1px solid #e2e2e2;
    padding-left: 50px;
    font-size: 15px;
    box-shadow: none !important;
}

.custom-input-2 {
    height: 40px;
    border-radius: 12px;
    border: 1px solid #e2e2e2;
    font-size: 15px;
    box-shadow: none !important;
}
    .custom-input:focus {
        border-color: #d72427;
    }

.btn-login {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: #d72427;
    color: white;
    font-size: 17px;
    font-weight: 600;
    transition: 0.3s;
    margin-top: 2px;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(215, 25, 45, 0.25);
        color: white;
    }

.features-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
}

.feature-item {
    flex: 1;
    text-align: center;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d72427;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-item h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 11px;
    color: #6f6f6f;
    line-height: 1.4;
    margin: 0;
}

.mensaje-login {
    margin-top: 20px;
    text-align: center;
}

@media(max-width: 500px) {

    .login-card {
        width: 100%;
    }

    .login-content {
        padding: 25px;
    }

    .login-subtitle {
        font-size: 20px;
    }

    .features-section {
        flex-direction: column;
        gap: 20px;
    }
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at top left, rgba(255,255,255,0.08) 0%, transparent 35% ), linear-gradient( 135deg, rgba(255,255,255,0.02), rgba(0,0,0,0.10) );
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at bottom right, rgba(255,255,255,0.07) 0%, transparent 35% ), linear-gradient( 315deg, rgba(255,255,255,0.02), rgba(0,0,0,0.08) );
    z-index: 0;
    pointer-events: none;
}