/* Estilos generales */
.custom-form {
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;
}

.form-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: bold;
}

.form-radio {
    margin-right: 10px;
}

.phone-number-input-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;

    .decorator_cu_style_container {
        border: 1px solid #ccc;
        border-right: none;
        height: 40px;
        padding: 5px;
        display: flex;
        border-radius: 5px 0px 0px 5px;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        width: 70px;

        .cu_flag_style {
            width: 20px;
            height: 15px;
            background-image: url('../img/cu.png');
            background-size: cover;
            background-repeat: no-repeat;
        }
    }

    .form_input_style_class {
        width: 84%;
        height: 40px;
        padding: 10px;
        margin-bottom: 0px;
        border-radius: 0px 5px 5px 0px !important;
    }
}

.phone_number_input_error {
    color: tomato;
    font-size: 14px;
    display: none;
}

.form-button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.form-button:disabled {
    background-color: #ccc;
}

/* Estilos para la página de administración */
.custom-admin-page {
    font-family: Arial, sans-serif;
    background-color: #FFFFFF;
    border-radius: 1rem;
    padding: 1rem;
}

.nav-tab-wrapper {
    margin-bottom: 20px;
    .nav-tab {
        background-color: #f1f1f1;
        border: 1px solid #ddd;
        border-radius: 5px;
        text-decoration: none;
        color: #333;
        & hover {
            background-color: #e1e1e1;
        }
    }
}

.tab-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.balance-info {
    font-size: 18px;
    color: #333;
}

/* Animación de rotación infinita */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Clase para aplicar la animación */
.spin-animation {
    display: inline-block;
    /* Asegura que el elemento sea visible */
    animation: spin 2s linear infinite;
    /* Aplica la animación */
}

/* Estilos para la tabla */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin: 20px 0;
}

.custom-table th,
.custom-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;

    pre {
        margin-block: 0px !important;
    }
}

.custom-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.custom-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.custom-table tr:hover {
    background-color: #f1f1f1;
}

.alert_response_style {
    width: 100%;
    padding: 10px;
    border-radius: 0.6rem;
    display: none;
    margin-top: 20px;

    .alert_response_text {
        color: white;
        font-size: 1rem;
    }

}

.alert_success {
    background-color: mediumseagreen;
}

.alert_error {
    background-color: tomato;
}

.plan_price_general_container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;

    .plan_container_style_class {
        display: flex;
        flex-direction: column;
        .promo_option_container_style_class{
            padding: 10px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            border-left: solid 5px green;
            background: linear-gradient(90deg, lightgreen 0%, #ffffff 100%);
        }
        .offert_option_container_style_class{
            padding: 10px;
            display: flex;
            gap: 15px;
            flex-direction: column;
            border-left: solid 5px blue;
            background: linear-gradient(90deg, lightskyblue 0%, #ffffff 100%);
        }
    }

    .price_container_style_class {
        display: flex;
        justify-content: center;
        align-items: start;
        width: 245px;

        @media (min-width: 721px) {
            width: 155px;
        }

        .price_label_style_class {
            font-size: 4em;
            line-height: 0;
        }
    }
}