﻿.form {
    background-image: url('../imagenes/cerradas.jpg');
    background-repeat: no-repeat; /* Evita que se repita */
    background-size: cover; /* Hace que cubra todo el fondo */
    background-position: center center; /* Centra la imagen */
    background-attachment: fixed; /* (opcional) Fija la imagen al hacer scroll */
}


.form-label{
    color:black;
}
.card-body {
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    background: rgb(255, 255, 255);
    padding: 32px 40px;
    border-radius: 3px
}

/* Imagen de fondo en todo el dashboard */
.fondo-dashboard {
    background-image: url('/imagenes/cerradas.jpg'); /* Ajusta según tu ruta */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Hacer transparentes los contenedores internos de Cork */
.main-container,
.main-content,
.layout-px-spacing,
.middle-content,
.row.layout-top-spacing,
.col-xl-12 {
    background: transparent !important;
}

/* Quitar overlays que tapan la imagen */
.overlay,
.search-overlay {
    background: transparent !important;
}
.spinner-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px); /* desenfoque elegante */
    background-color: rgba(0, 0, 0, 0.4); /* fondo semitransparente */
    z-index: 2000;
}

/* Spinner circular personalizado */
.custom-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Texto del spinner */
.spinner-text {
    margin-top: 20px;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

