﻿body {
    background: url('../images/fondo.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#FondoPrin {
}

div {
    margin: 0;
    padding: 0;
}

#DContenedor {
    width: 1560px;
    height: 100%;
    margin: auto;
}

#DSuperior {
    width: 100%;
    height: 100px;
}

#DCentro {
    width: 100%;
    height: 700px;
}

#DInferior {
    width: 100%;
    height: 200px;
}

#DSIzquierdo, #DCIzquierdo, #DIIzquierdo {
    width: 300px;
    height: 100%;
    float: left;
}

#DSPrincipal, #DCPrincipal, #DIPrincipal {
    width: 960px;
    height: 100%;
    float: left;
}

#DSDerecho, #DCDerecho, #DIDerecho {
    width: 300px;
    height: 100%;
    float: left;
}

@media(max-width:1559px) {
    #DSDerecho, #DCDerecho, #DIDerecho {
        display: none;
    }

    #DContenedor {
        width: 1260px;
        height: 100%;
        margin: auto;
    }
}

@media(max-width:1259px) {
    #DSIzquierdo, #DCIzquierdo, #DIIzquierdo {
        display: none;
    }

    #DContenedor {
        width: 960px;
        height: 100%;
        margin: auto;
    }
}

@media(max-width:959px) {
    #DSPrincipal, #DCPrincipal, #DIPrincipal {
        width: 100% !important;
    }

    #DContenedor {
        width: 100% !important;
        height: 100%;
        margin: auto;
    }
}

.sso.sso-bg {
    min-height: 100vh;
    background: #f3f4f6;
    display: grid;
    place-items: center;
    padding: 24px;
}

.sso.sso-container {
    width: 100%;
    max-width: 880px;
    padding: 12px;
}

.sso.sso-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.sso.sso-card-header {
    padding: 22px 24px;
    border-bottom: 1px solid #e9ecf2;
    background: linear-gradient(180deg, #ffffff, #fafafa);
}

.sso.sso-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sso.sso-logo-wrap {
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: transparent;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: none;
}

.sso.sso-logo-img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    display: block;
}

.sso.sso-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    align-items: center;
}

.sso.sso-app {
    font-weight: 800;
    color: #111827;
    font-size: 22px;
    letter-spacing: 0.2px;
}

.sso.sso-subtitle {
    font-size: 18px;
    color: #4b5563;
    margin-top: 2px;
}

.sso.sso-card-body {
    padding: 10px;
    background: #fafafa;
}

.sso.sso-list {
    display: grid;
    gap: 10px;
}

.sso.sso-item {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr; 
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: box-shadow .2s, border-color .2s, transform .02s;
    text-decoration: none;
    color: inherit;
}

    .sso.sso-item:hover {
        border-color: #cbd5e1;
        box-shadow: 0 1px 0 rgba(20,40,120,.02), 0 10px 28px rgba(76,99,185,.08);
        background: #ffffff;
    }

    .sso.sso-item:active {
        transform: scale(.996);
    }

    .sso.sso-item.loading {
        cursor: default;
    }

.sso.sso-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    color: #1f2937;
    font-weight: 800; 
    font-size: 16px;
    display: grid;
    place-items: center;
}

    .sso.sso-avatar.plus {
        background: #f3f4f6;
        color: #374151;
    }

.sso.sso-info {
    min-width: 0;
}

.sso.sso-name {
    font-weight: 700;
    color: #111827;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sso.sso-email {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sso.sso-actions {
    display: none;
}

.sso.sso-dots {
    display: none;
}

.sso.sso-item.add-account {
    border-style: dashed;
    background: #fcfcff;
}

.sso.sso-inline-form {
    margin: 10px 2px 4px 64px;
    padding: 10px;
    border-left: 3px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 8px;
}

.sso.sso-label {
    font-size: 12px;
    color: #4b5563;
}

.sso.sso-input {
    font-size: 14px;
}

.sso.sso-btn {
    font-weight: 700;
}

.sso.sso-card-footer {
    border-top: 1px solid #e9ecf2;
    background: #f8fafc;
    padding: 14px 20px;
    display: flex;
    justify-content: center;
}

.sso.sso-legal {
    font-size: 12px;
    color: #6b7280;
}

.sso.sso-spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    border-top-color: #6d28d9;
    animation: sso-spin .8s linear infinite;
}

@keyframes sso-spin {
    to {
        transform: rotate(360deg);
    }
}

.sso.sso-item:focus {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .sso.sso-card {
        border-radius: 12px;
    }

    .sso.sso-card-header {
        padding: 18px;
    }

    .sso.sso-logo-img {
        max-height: 120px;
    }

    .sso.sso-app {
        font-size: 20px;
    }

    .sso.sso-subtitle {
        font-size: 16px;
    }

    .sso.sso-item {
        padding: 12px;
        gap: 12px;
    }

    .sso.sso-avatar {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .sso.sso-name {
        font-size: 15px;
    }

    .sso.sso-email {
        font-size: 12px;
    }

    .sso.sso-inline-form {
        margin-left: 56px;
    }
}
