﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 310px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
}

.header {
    background-color: #05ce78;
    color: white;
    padding: 2rem;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 50px;
    padding: 0 1rem;
}

.main-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.product-section {
    flex: 1;
    min-width: 300px;
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.form-section {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

input, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/*.price-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #05ce78;
    margin: 1rem 0;
}*/
/* En Site.css */
.price-display {
    position: relative;
    font-size: 1.5rem;
    font-weight: bold;
    color: #05ce78;
    margin: 1rem 0;
}

.recommended-content {
    display: flex;
    align-items: center;
    gap: 1rem; /* Espacio entre el badge y el texto */
}

.recommended-badge {
    position: static; /* Cambiado de absolute a static */
    background-color: #ffd400;
    color: #000;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.recommended-badgeplan {
    text-decoration: none;
    color: #000;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.suscription-badge {
    position: static; 
    background-color: #ffd400;
    color: #000;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.55rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.price-text {
    color: #05ce78;
    font-size: 1.4rem;
    font-weight: bold;
}
.recommended-option {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.recommended-option::after {
    content: 'Plan recomendado';
    position: absolute;
    right: -90px;
    background-color: #ffd400;
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}


button {
    width: 100%;
    padding: 1rem;
    background-color: #05ce78;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #04b669;
    }


.feature-card {
    background: white;
    padding: 1.0rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.total-price {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}
.select-wrapper {
    position: relative;
    width: 100%;
}

.recommended-select {
    appearance: none;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 1rem;
}

/* Estilos actualizados para la opción recomendada */
select option.recommended-option {
    position: relative;
    padding: 1rem;
    font-weight: bold;
    background-color: #fff9e6;
}

/* Nuevo contenedor para el texto recomendado */
.recommended-text {
    background-color: #ffd400;
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 8px;
}