﻿h1 {
    text-align: center;
    color: #C23A79;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

/*body {
    font-family: Arial, sans-serif;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    padding: 0px;
}*/

.form-container {
    background: #fff;
    border-radius: 10px;
    padding: 20px 30px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .form-container h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
    }

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #444;
}

input, select, textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

    input:focus, textarea:focus {
        border-color: #007bff;
        outline: none;
    }

.form-row {
    display: flex;
    gap: 15px;
}

    .form-row .form-group {
        flex: 1;
    }

.btn.primary {
    background: #2DB8B5;
    color: white;
    font-weight: 700;
    border: none;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    margin-bottom: 20px;
    margin-top: 20px;
}


.btn-primary {
    color: #AB216E;
    border-color: #AB216E;
}

.btn-form button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #C23A79;
    color: #2DB8B5;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

    .btn-form button:hover {
        background: #C23A79;
    }

.vol-container {
    display: grid;
    border-radius: 15px;
    background-color: white;
    /*justify-content: revert-layer;*/
    box-shadow: 6px 6px 6px #5c6b6a2e;
    width: 100%;
    height: auto;
    margin: 20px auto; /* 💡 esto centra el div horizontalmente */
    padding: 20px;
    max-width: 1450px;
}

@media screen and (min-width: 801px) and (max-width: 1600px) {
    .vol-container {
        width: 90%;
        margin: 20px auto;
    }
}

@media screen and (min-width: 340px) and (max-width: 800px) {
    .vol-container {
        width: 80%;
        margin: 20px auto;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}




/* 🌟 Alertas */
.alert-box {
    position: relative;
    margin: 20px auto;
    padding: 16px 48px 16px 16px;
    border-radius: 10px;
    font-size: 1rem;
    max-width: 700px;
    text-align: center;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.4s ease-out;
}

    .alert-box.success {
        background-color: #e6f7e9;
        color: #207544;
        border: 1px solid #b7e1c2;
    }

    .alert-box.error {
        background-color: #fdeaea;
        color: #a32020;
        border: 1px solid #f5b5b5;
    }

    /* Botón de cierre */
    .alert-box .close-btn {
        position: absolute;
        right: 12px;
        top: 8px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: inherit;
        cursor: pointer;
        transition: transform 0.2s;
    }

        .alert-box .close-btn:hover {
            transform: scale(1.2);
        }

/* Animación de aparición */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.text-danger {
    --bs-text-opacity: 1;
    color: red !important;
}



textarea {
    min-width: 100%;
    resize: vertical;
    height: 30px;
    min-height: 30px;
    max-height: 100px;
    font-family: sans-serif;
    /*form-sizing: content; (para q se adapte automaticamente al contenido pero todavia no esta disponible*/
}