﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

h2 {
    color: white !important;
    text-align: center;
    padding-top: 15px;
}

html {
    position: relative;
    /*min-height: 100%;*/
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    /*margin-bottom: 60px;*/
    /*background: linear-gradient(to right, #c3aed6, #a2d2ff);*/
    background: linear-gradient(135deg, #c096e5, #77a6d1); /* diagonal suave */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
}
    body > .container {
        flex: 1; /* El contenido crece para llenar el espacio disponible */
    }

footer {
    flex-shrink: 0;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/*Card Salas*/
.card-sala {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card-sala:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
        border-left: 5px solid #9b59b6;
    }

.card-title {
    color: #5dade2;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
}

.card-actions {
    margin-top: 15px;
    display: flex; /* Activar flexbox */
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}


/*Boton Principal*/
.button2 {
    display: flex; /* Usa flexbox para centrar contenido */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    text-decoration: none; /* Quita el subrayado */
    text-align: center;
    width: 150px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #03045e;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease-in;
    z-index: 1;
}

    .button2::before,
    .button2::after {
        content: '';
        position: absolute;
        top: 0;
        width: 0;
        height: 100%;
        transform: skew(15deg);
        transition: all 0.5s;
        overflow: hidden;
        z-index: -1;
    }

    .button2::before {
        left: -10px;
        background: #240046;
    }

    .button2::after {
        right: -10px;
        background: #5a189a;
    }

    .button2:hover::before,
    .button2:hover::after {
        width: 58%;
    }

    .button2:hover span {
        color: #e0aaff;
        transition: 0.3s;
    }

    .button2 span {
        color: #03045e;
        font-size: 18px;
        transition: all 0.3s ease-in;
    }

.inputF {
    width: 100%;
    height: 45px;
    line-height: 30px;
    padding: 0 1rem;
    /*padding-left: 3rem;*/
    border: 2px solid #9b59b6;
    border-radius: 10px;
    outline: none;
    background-color: #f8fafc;
    color: #0d0c22;
    transition: .5s ease;
}

    .inputF::placeholder {
        color: #9b59b6;
    }

    .inputF:focus, inputF:hover {
        outline: none;
        border-color: #9b59b6;
        background-color: #fff;
        box-shadow: 0 0 0 5px rgb(155 89 182 / 30%);
        /*box-shadow: 0 0 0 5px rgb(129 140 248 / 30%);*/
    }
