/* ===== SECTION STYLING ===== */
.content-section {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.content-section.highlighted {
    border-color: #666;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.section-header h2 {
    color: #333;
    margin-bottom: 8px;
}

.section-description {
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

/* ===== CHECKBOX STYLING ===== */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.checkbox-container:hover {
    background: #f8f9fa;
}

.checkbox-wrapper {
    position: relative;
    display: inline-block;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #666;
}

.checkbox-label {
    cursor: pointer;
    user-select: none;
}

.yearbook-checkbox-option {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}

.yearbook-checkbox-option.checked {
    /* border-color: #666; */
    background: #fff;
}

.yearbook-checkbox-option:hover {
    border-color: #999;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    /* border-top: 2px solid #e0e0e0; */
    margin: 40px 0 30px 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    /* background: #666; */
}

/* ===== PRINT OPTION STYLING ===== */
.print-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
}

.print-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.print-option.package-highlight {
    border: 2px solid #666;
    background: #f8f9fa;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-weight: 500;
    font-size: 16px;
}

.item-price {
    color: #333;
}

.item-description {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

/* ===== QUANTITY CONTROLS ===== */
.controls-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-btn:hover {
    background: #f5f5f5;
}

input[type="number"] {
    width: 60px;
    height: 36px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    -moz-appearance: textfield; /* Firefox */
}

/* Hide spinner arrows in Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===== BADGES AND INDICATORS ===== */
.recommended-badge {
    background: #666;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
}

/* ===== TAB STYLING ===== */
.tab-container {
    margin: 20px 0;
}

.tab-buttons {
    display: flex;
    background: #f1f1f1;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    border: 2px solid #ddd;
    border-bottom: none;
}

.tab-button {
    flex: 1;
    padding: 16px 20px;
    background: #f1f1f1;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    border-right: 1px solid #ddd;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:last-child {
    border-right: none;
}

.tab-button.active {
    background: white;
    color: #333;
    border-bottom: 2px solid #666;
}

.tab-button:hover:not(.active) {
    background: #e8e8e8;
}

.tab-indicator {
    background: #666;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 8px;
    display: none;
}

.tab-indicator.show {
    display: inline-block;
}

.tab-content {
    display: none;
    background: white;
    border: 2px solid #ddd;
    border-radius: 0 0 8px 8px;
    padding: 20px;
}

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

@media (max-width: 768px) {
    .tab-button {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* ===== GROUP PHOTO SECTION ===== */
.group-photo-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    border: 2px solid #e0e0e0;
}

.group-photo-header {
    text-align: center;
    margin-bottom: 20px;
}

.group-photo-header h2 {
    color: #333;
    margin-bottom: 8px;
}

.group-photo-description {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.group-photo-option {
    background: white;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
}

.group-photo-option:last-child {
    margin-bottom: 0;
}

/* ===== SHIPPING INFO ===== */
.shipping-info-btn:hover {
    color: #333 !important;
}

.shipping-info-btn:focus {
    outline: none;
}

#shippingInfo {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 50px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}