/* ====== Contenedor general ====== */
.cardiac-container {
    max-width: 900px;
    margin: 40px auto;
    font-family: system-ui, sans-serif;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

/* ====== Tarjeta principal ====== */
.cardiac-card {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.cardiac-title {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 24px;
    width: 100%;
    text-align: center;
}

/* ====== Formulario ====== */
.cardiac-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 400px;
    padding: 24px;
}

/*.cardiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}*/

.cardiac-input {
    width: 94%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    margin-bottom: 10px;
}

.cardiac-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

.cardiac-input-select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    margin-bottom: 10px;
}

.cardiac-input-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}
/* ====== Botón ====== */
.cardiac-button {
    padding: 12px;
    background: #66a4d5;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease-in-out;
}

.cardiac-button:hover {
    background: #3498db;
}

/* ====== Tarjeta de resultado ====== */
.cardiac-result-img {
    width: 400px;
    height: auto;
    text-align: center;
    display: flex;
    align-items: center;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    background-image: url('http://localhost:8881/wp-content/uploads/2025/11/logo-corazon-3.jpg');
    background-size: cover;
}

.cardiac-result-card {
    width: 400px;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cardiac-result-title {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 22px;
}

/* ====== Gráfica ====== */
.cardiac-chart-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto;
}

/* ====== Texto de porcentaje ====== */
.cardiac-percent {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ====== Categoría ====== */
.cardiac-category {
    font-size: 20px;
    font-weight: 500;
}
/* === CONTENIDO == */
.cardiac-contenido {
    font-size: 18px;
    font-weight: 300;
    text-align: left;
}


/*==========  RESPONSIVO MOBILE  ======*/

@media only screen and (max-width: 767px) {
    .cardiac-card {
        display: flex;
        flex-direction: column-reverse;
    }
    .cardiac-form {
        width: 100%;
        padding: 0px;
    }
    .cardiac-result-card {
        width: 100%;
    }
    .cardiac-result-img {
        width: 100%;
    }
    .cardiac-img {
        width: 100%;
    }
    .cardiac-input {
        width: 95%;
    }
}


/*# sourceMappingURL=index.css.map*/