/*
* Nombre del archivo: style.css
* Ruta del archivo: fabrikdent-feature-comparison/assets/css/style.css
* Versión del archivo: 3.7
* Descripción detallada: Bordes redondeados y sombra externa visibles en todas las esquinas, incluyendo las celdas del encabezado.
* Fecha y hora de actualización: 29/07/2025/23:05:00 pm
* Autor: Fabio Jara by Mantiz Technology SAS.
*/

.ffc-table-wrap {
    width: 100%;
    overflow-x: auto;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
}

/* Tabla interna */
.ffc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-bottom: none !important;
    min-width: 600px;
    border: 1px solid #999; /* ✅ Borde más oscuro */
    border-radius: 12px; /* ✅ Esquinas redondeadas */

}

.ffc-table th,
.ffc-table td {
    padding: 0 12px;
    border: 1px solid #ddd;
    min-width: 150px;
    vertical-align: middle;
}

/* ✅ Bordes redondeados en esquinas superiores */
.ffc-table thead th:first-child {
    border-top-left-radius: 12px;
}
.ffc-table thead th:last-child {
    border-top-right-radius: 12px;
}

/* ✅ Bordes redondeados en esquinas inferiores */
.ffc-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}
.ffc-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

/* Columna Características */
.ffc-table td:first-child {
    text-align: left;
    font-size: inherit;
    line-height: 1.0;
}

/* Encabezado Características */
.ffc-table th:first-child {
    text-align: center;
    vertical-align: bottom;
    padding-bottom: 15px;
}

.ffc-table td:not(:first-child),
.ffc-table th:not(:first-child) {
    text-align: center;
}

.ffc-table thead th {
    font-size: 16px;
    font-weight: bold;
    padding: 0;
}

.ffc-plan-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.ffc-plan-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #000;
    line-height: 0.95;
}

.ffc-price-cop,
.ffc-price-usd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ff6600;
    margin-top: 5px;
}

.ffc-price-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
}
.ffc-plan-subtitle {
    font-size: 12px;      /* ✅ Tamaño más pequeño */
    font-weight: 500;
    line-height: 1.2em;
    color: #555;          /* ✅ Gris discreto */
    margin-bottom: 4px;   /* ✅ Separación del nombre del plan */
}

.ffc-payment-info .ffc-note:last-child {
    font-size: 12px;
    color: #222;
    margin-top: 4px;
    padding-bottom: 10px;
    font-weight: 800;
    line-height: 0.8;
}

.ffc-price-details {
    font-size: 12px;
    font-weight: 500;
    color: #000;
    margin-left: 4px;
}

.ffc-price-note {
    font-size: 11px;
    color: #555;
    margin-top: 4px;
    margin-bottom: 4px;
    line-height: 1.1em;
}

.ffc-note-inline {
    font-size: 11px;
    font-weight: 800 !important;
    color: #666;
    margin-top: 4px;
    margin-bottom: 4px;
    display: block;
    line-height: 1.1em;
}

.ffc-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.ffc-check,
.ffc-cross {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-weight: bold;
}

.ffc-check { color: green; }
.ffc-cross { color: red; }

.ffc-buttons {
    margin-top: 25px;
}

/* Botón Contáctanos */
.ffc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #5cc4f5;
    color: #fff !important;
    padding: 10px 28px;
    text-decoration: none !important;
    border-radius: 30px;
    font-weight: normal;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.ffc-btn:hover {
    background: #0073aa;
    color: #fff !important;
    transform: translateY(-2px);
    text-decoration: none !important;
}

.ffc-btn i {
    margin-right: 8px;
    font-size: 16px;
    display: inline-block;
}

.ffc-note {
    font-size: 13px;
    color: #555;
}



@media (max-width: 1024px) {
    .ffc-table-wrap {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    .ffc-table,
    .ffc-table thead,
    .ffc-table tbody,
    .ffc-table th,
    .ffc-table td,
    .ffc-table tr {
        display: block;
        width: 100%;
    }

    .ffc-table thead tr {
        display: none;
    }

    .ffc-table tbody tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 5px;
        background: #fff;
    }

    .ffc-table tbody td {
        text-align: left;
        position: relative;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #eee;
        min-height: 40px;
    }

    .ffc-table tbody td:before {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
        font-size: 14px;
        color: #333;
        content: attr(data-label);
    }

    .ffc-check,
    .ffc-cross {
        justify-content: flex-start;
        padding-left: 10px;
    }
}

.ffc-payment-info {
    margin-top: 20px;
    text-align: center;
}

.ffc-payment-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 8px;
}



/* Texto de detalles debajo del precio */
.ffc-price-details-below {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #000;
    margin-top: 2px;       /* Separación respecto al número */
    line-height: 1.0;      /* Altura de línea controlada */
    text-align: center;
}

/* Quitar borde inferior y sombra solo en la última fila de la tabla */
.ffc-table tbody tr:last-child td {
    border-bottom: none !important;
    box-shadow: none !important;
}