:root {
    /* Variables de colores principales */
    --primary-color: #0056b3;
    --primary-color-dark: #003d82;
    --primary-color-light: #e6f0ff;
    --text-color: #333;
    --text-light: #fff;
    --bg-color: #f5f5f5;
    --card-bg: #fff;
    
    /* Variables de efectos */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-3d: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.15);
    --shadow-3d-active: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    
    /* Variables de transición */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transform-3d: translateY(-5px);
    --transform-3d-active: translateY(-8px);
    
    /* Variables de bordes */
    --border-radius: 8px;
    --border-radius-card: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    padding: 10px;
    perspective: 1000px;
}

.container {
    max-width: 800px;
    width: 100%;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform-style: preserve-3d;
}

.header {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 10px;
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 20px;
    font-weight: 600;
}

.subtitle {
    text-align: center;
    padding: 10px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 0 10px 15px;
}

.option {
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-card);
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--card-bg);
    transform-style: preserve-3d;
    position: relative;
    box-shadow: var(--shadow);
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(0, 61, 130, 0.1) 100%);
    border-radius: var(--border-radius-card);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.option:hover {
    transform: var(--transform-3d);
    box-shadow: var(--shadow-3d);
    background-color: var(--primary-color-light);
}

.option:hover::before {
    opacity: 1;
}

.option.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: var(--transform-3d-active);
    box-shadow: var(--shadow-3d-active);
    border-color: var(--primary-color-dark);
}

.option.active::before {
    opacity: 0;
}

.option .period {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 2px;
    position: relative;
    z-index: 1;
}

.option .price {
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.note {
    background-color: #f0f0f0;
    border-top: 1px solid var(--primary-color);
    padding: 10px;
    color: var(--text-color);
}

.note p {
    margin-bottom: 5px;
    line-height: 1.4;
    font-size: 14px;
}

.note .discount {
    font-weight: bold;
    color: var(--primary-color);
}

.note a {
    color: var(--primary-color);
    text-decoration: none;
}

.note a:hover {
    text-decoration: underline;
}

.request-option {
    grid-column: span 2;
    background-color: orange;
    color: white;
    border: 1px solid orange;
    font-size: 16px;
    font-weight: 600;
}

.request-option:hover {
  background-color:darkgreen;
  border:1px solid limegreen;
}

.tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--primary-color);
    margin-bottom: 10px;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.tab-button.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button[data-tab="future"] {
    background-color: darkgreen;
    color: white;
    font-weight: bold;
}

.tab-button[data-tab="future"].active {
    background-color: darkgreen;
    color: white;
    border-bottom-color: white;
}

#future-tab .option {
    border-color: darkgreen;
    color: darkgreen;
    background-color: white;
}

#future-tab .option.active {
    background-color: darkgreen;
    color: white;
    border-color: darkgreen;
}

#future-tab .option:hover {
    background-color: #e6f0ff;
    border-color: darkgreen;
}

#future-tab .request-option {
    background-color: purple;
    color: white;
    border-color: purple;
}

#future-tab .request-option:hover {
    background-color: darkmagenta;
    border-color: darkmagenta;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

@media (max-width: 600px) {
    .options {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
