﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: url('/resources/images/Fondo.jpg');
    padding: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.main-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.sdk-viewer {
    flex: 1;
    min-width: 350px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-height: 400px;
}

    .sdk-viewer h2 {
        color: #333;
        margin-bottom: 12px;
        font-size: 1.1rem;
        border-bottom: 2px solid #05becb;
        padding-bottom: 8px;
    }

#sdk-facial-container {
    width: 100%;
    height: 580px;
    border: 2px dashed #e0e0e0;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

#sdk-facial-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    z-index: 20000;
}

    #sdk-facial-loader.active {
        display: flex;
    }

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top-color: #05becb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.sidebar {
    width: 350px;
    min-width: 300px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

    .card h2 {
        color: #333;
        margin-bottom: 12px;
        font-size: 1.1rem;
        border-bottom: 2px solid #05becb;
        padding-bottom: 8px;
    }

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 500;
    font-size: 13px;
}

input, select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

    input:focus, select:focus {
        outline: none;
        border-color: #05becb;
    }

button {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #05becb;
    color: white;
}

    .btn-primary:hover {
        background: #04a8b4;
    }

.btn-success {
    background: #c80cc5;
    color: white;
}

    .btn-success:hover {
        background: #1858f8;
    }

.btn-warning {
    background: #cfbd00;
    color: white;
}

    .btn-warning:hover {
        background: #b8a900;
    }

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .buttons-row button {
        flex: 1;
        min-width: 120px;
    }

.status {
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
}

    .status.success {
        background: #c6f6d5;
        color: #22543d;
        border: 1px solid #9ae6b4;
    }

    .status.error {
        background: #fed7d7;
        color: #742a2a;
        border: 1px solid #fc8181;
    }

    .status.info {
        background: #bee3f8;
        color: #2c5282;
        border: 1px solid #90cdf4;
    }

#logo-hello-brete {
    width: 45%; /* La imagen ocupa todo el ancho del contenedor */
    height: 45%; /* La imagen ocupa todo el alto del contenedor */
    object-fit: contain; /* Ajusta la imagen para que se vea sin distorsión */
    display: block; /* Asegura que la imagen se comporte como un bloque para el centramiento */
    margin: auto; /* Centra la imagen en el contenedor */
}
