
:root {
    --primary-color: #0d6efd;
    --primary-hover: #0a58ca;
    --dark-bg: #212529;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--light-gray);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 1.2rem;
    box-shadow: var(--shadow);
    background: var(--white);
    border: none;
}

.login-card h4 {
    color: var(--dark-bg);
    letter-spacing: -0.5px;
}

.navbar-custom {
    background-color: var(--dark-bg);
    padding: 0.8rem 0;
    border-bottom: 3px solid var(--primary-color);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.25rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-icon {
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.main-card {
    background: var(--white);
    border-radius: 1rem;
    border: none;
    box-shadow: var(--shadow);
}

.section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-logout {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 50px;
}


@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }

    .user-profile span {
        display: none; 
    }
}
@media (max-width: 576px) {
    .login-card {
        padding: 1.5rem;
    }

    .btn-logout span {
        display: none; 
    }

    .btn-logout::before {
        content: 'SALIR'; 
        font-size: 0.75rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}