/* Offer Banner */
.offer-banner {
    background: linear-gradient(135deg, #a82b15 0%, #db5f4b 100%);
    color: white;
    text-align: center;
    padding: 6px 6px;
    border-radius: 10px;
    margin: 6px 0;
    box-shadow: 0 5px 12px rgba(255, 107, 53, 0.2);
}

.offer-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.offer-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff !important;
}

.offer-tag {
    display: inline-block;
    background-color: white;
    color: #f08720;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 6px;
}

/* Main Content */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
}

.plan-creation {
    flex: 2;
    background-color: white;
    border-radius: 10px;
    padding: 5px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plan-summary {
    flex: 1.5;
    background-color: white;
    border-radius: 10px;
    padding: 5px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.section-title {
    font-size: 18px;
    margin-bottom: 18px;
    color: #333;
    padding-bottom: 1px;
    border-bottom: 2px solid #ffede5;
    font-weight: 700;
}

/* Toggle Section with Header in Row */
.toggle-section {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.toggle-header {
    min-width: 140px;
    color: #555;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.toggle-header i {
    margin-right: 6px;
    color: #f08720;
    font-size: 14px;
}

.toggle-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.toggle-btn {
    padding: 8px 12px;
    background-color: #fff8f3;
    border: 2px solid #ffd4c2;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    color: #666;
    font-size: 13px;
    flex: 1;
    min-width: 70px;
}

.toggle-btn:hover {
    border-color: #f08720;
    color: #f08720;
    background-color: #fff0e8;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.15);
}

.toggle-btn.selected {
    background-color: #f08720;
    color: white;
    border-color: #f08720;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.2);
}

/* Tiffin Count Selector */
.tiffin-count-section {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tiffin-count-header {
    min-width: 140px;
    color: #555;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.tiffin-count-header i {
    margin-right: 6px;
    color: #f08720;
    font-size: 14px;
}

.tiffin-count-selector {
    display: flex;
    gap: 8px;
    flex: 1;
}

.count-option {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffd4c2;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #fff8f3;
    color: #666;
}

.count-option:hover {
    border-color: #f08720;
    color: #f08720;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.15);
}

.count-option.selected {
    border-color: #f08720;
    background-color: #f08720;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.2);
}

/* Date Section */
.date-section {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.date-header {
    min-width: 140px;
    color: #555;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.date-header i {
    margin-right: 6px;
    color: #f08720;
    font-size: 14px;
}

.date-input {
    padding: 8px 12px;
    background-color: #fff8f3;
    border: 2px solid #ffd4c2;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    flex: 1;
    max-width: 180px;
    cursor: pointer;
}

.date-input:focus {
    outline: none;
    border-color: #f08720;
}

/* Meal Plan Section */
.meal-plan-section {
    margin-bottom: 25px;
}

.meal-plan-header {
    color: #555;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.meal-plan-header i {
    margin-right: 6px;
    color: #f08720;
    font-size: 14px;
}

.meal-plan-options {
    display: flex;
    gap: 8px;
}

.meal-plan {
    flex: 1;
    padding: 12px;
    background-color: #fff8f3;
    border: 2px solid #ffd4c2;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.meal-plan:hover {
    border-color: #f08720;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.15);
}

.meal-plan.selected {
    background-color: #f08720;
    color: white;
    border-color: #f08720;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.2);
}

.plan-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.plan-desc {
    font-size: 11px;
    color: inherit;
    opacity: 0.9;
}

/* Summary Section */
.summary-details {
    margin-bottom: 18px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ffede5;
    font-size: 13px;
}

.summary-label {
    color: #666;
}

.summary-value {
    font-weight: 600;
    color: #333;
}

.amount-section {
    background-color: #fff8f3;
    padding: 15px;
    border-radius: 8px;
    margin: 18px 0;
}

.amount-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.total-row {
    font-size: 16px;
    font-weight: 800;
    color: #f08720;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 2px solid #ffd4c2;
}

.discount-row {
    color: #27ae60;
    font-weight: 700;
}

.effective-price {
    background-color: #ffede5;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin-top: 12px;
    font-weight: 700;
    color: #333;
    font-size: 13px;
}

/* Meal Description */
.meal-description {
    background-color: #fff8f3;
    padding: 18px;
    border-radius: 10px;
    margin-top: 22px;
    border-left: 4px solid #f08720;
}

.meal-description h3 {
    color: #f08720;
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.meal-description h3 i {
    margin-right: 6px;
}

.meal-option {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ffd4c2;
    font-size: 13px;
}

.meal-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.meal-option h4 {
    font-size: 14px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.meal-option h4 i {
    margin-right: 6px;
    color: #f08720;
}

/* Checkout Button */
.checkout-btn {
    width: 100%;
    padding: 14px;
    background-color: #a82b15;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.checkout-btn:hover {
    background-color: #03573a;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 107, 53, 0.25);
}

.coupon-note {
    text-align: center;
    margin-top: 10px;
    color: #777;
    font-size: 16px;
    font-style: italic;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 25px;
    padding: 18px;
    color: #777;
    font-size: 12px;
    border-top: 1px solid #ffede5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .toggle-btn {
        min-width: 60px;
        padding: 7px 10px;
        font-size: 12px;
    }
    
    .toggle-header, .tiffin-count-header, .date-header {
        min-width: 120px;
        font-size: 14px;
    }
    
    .meal-plan-options {
        flex-direction: column;
    }
    
    .container {
        padding: 10px;
    }
    
    .plan-creation, .plan-summary {
        padding: 15px;
    }
    
    .offer-title {
        font-size: 20px;
    }
   
    .date-input {
        max-width: 100%;
    }
    
    .count-option {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .toggle-section, .tiffin-count-section, .date-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .toggle-header, .tiffin-count-header, .date-header {
        min-width: 100%;
        margin-bottom: 2px;
    }
    
    .toggle-buttons {
        width: 100%;
    }
    
    .tiffin-count-selector {
        width: 100%;
        justify-content: space-between;
    }
    
    .date-input {
        max-width: 100%;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo i {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .toggle-btn {
        flex: 1 0 calc(50% - 6px);
    }
    
    .count-option {
        width: 35px;
        height: 35px;
    }
}