﻿/* Styles/Login.css - minimalista */
:root {
    --primary: #0d6efd;
    --muted: #6c757d;
    --bg: #fbfcfe;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 30px rgba(16,24,40,0.06);
    --radius: 12px;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222;
    margin: 0;
}

/* Centrado */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 48px 0;
}

/* Card limpio */
.modal-card {
    width: 100%;
    max-width: 560px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 28px 32px;
    border: 1px solid rgba(16,24,40,0.03);
}

/* Cabecera minimalista */
.modal-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}

/* Logo imagen: limpia, sin fondo azul */
.brand-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 6px 18px rgba(13,110,253,0.08);
}

/* Título y subtítulo */
.modal-card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.modal-sub {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 8px;
}

/* Inputs y botones */
.form-label {
    font-size: .92rem;
    color: #444;
    margin-bottom: 6px;
    display: block;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e6e9ef;
    padding: .65rem .85rem;
    font-size: .95rem;
    transition: box-shadow .12s ease, border-color .12s ease;
}

    .form-control:focus {
        border-color: rgba(13,110,253,0.9);
        box-shadow: 0 6px 18px rgba(13,110,253,0.06);
        outline: none;
    }

/* Botón plano con sombra sutil */
.primary-btn {
    background: linear-gradient(180deg,var(--primary), #0b5ed7);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: .75rem 1rem;
    box-shadow: 0 8px 20px rgba(13,110,253,0.12);
}

/* Pie minimalista */
.login-footer {
    margin-top: 14px;
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}

/* Alertas con estilo */
.alert-custom {
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.03);
}

    .alert-custom .icon {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: #fff;
    }

.alert-success {
    background: linear-gradient(180deg, rgba(25,135,84,0.06), rgba(25,135,84,0.02));
    border-color: rgba(25,135,84,0.12);
}

.alert-danger {
    background: linear-gradient(180deg, rgba(220,53,69,0.06), rgba(220,53,69,0.02));
    border-color: rgba(220,53,69,0.12);
}

.alert-success .icon {
    background: linear-gradient(180deg,#28a745,#20a03b);
}

.alert-danger .icon {
    background: linear-gradient(180deg,#dc3545,#c82333);
}

/* Responsive */
@media (max-width:576px) {
    .modal-card {
        padding: 20px;
        margin: 12px;
    }

    .brand-logo-img {
        width: 48px;
        height: 48px;
    }
}
