:root {
    --primary-color: #FF6B35;
    --secondary-color: #2D5A6E;
    --success-color: #85C E3C;
    --danger-color: #FF6B35;
    --light-bg: #F8F8F8;
    --border-color: #E5E5E5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #FAFAFA;
    color: #333;
}

/* ===== Header ===== */
.header-top {
    background-color: #0055CC;
    padding: 0;
}

/* ===== Navigation ===== */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-nav .nav-link {
    color: #666 !important;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* ===== Sidebar ===== */
.sidebar-content {
    position: sticky;
    top: 20px;
}

.store-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.store-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8C42 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto;
}

.filter-section,
.categories-section {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-item a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item a:hover {
    text-decoration: underline;
    color: var(--secondary-color) !important;
}

/* ===== Coupon Cards ===== */
.coupon-card {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coupon-card.hidden {
    display: none !important;
}

.store-logo-lg {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8C42 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.coupon-card .card {
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color) !important;
}

.coupon-card .card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
    transform: translateY(-2px);
}

.btn-teal {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-teal:hover {
    background-color: #1E3D4D;
    border-color: #1E3D4D;
    color: white;
    transform: translateY(-1px);
}

.badge {
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
}

.hide-coupon {
    transition: all 0.3s ease;
}

.hide-coupon:hover {
    background-color: #f0f0f0;
}

/* ===== Filter Tabs ===== */
.btn-light {
    border: 1px solid var(--border-color);
    color: #666;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: var(--light-bg);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* ===== Footer ===== */
.footer-main {
    background-color: #F8F8F8;
    margin-top: 60px;
}

.about-section {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--light-bg) 100%);
}

.footer-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.about-highlight {
    background: white;
    border-radius: 8px;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.highlight-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-item h5 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.highlight-item p {
    font-size: 13px;
    color: #777;
}

.footer-section-title {
    color: #333;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
}

.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-link-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.newsletter-form input {
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.newsletter-form input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 110, 0.1);
}

.footer-bottom {
    background-color: white;
}

.footer-bottom a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}
.hide-coupon{
    display:none;
}
.modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .modal-overlay.active {
            display: flex;
        }

        /* Modal Content */
        .coupon-modal {
            background: white;
            border-radius: 12px;
            width: 90%;
            max-width: 600px;
            padding: 40px;
            position: relative;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        }

        /* Header Section */
        .modal-header-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 40px;
            gap: 20px;
        }

        .modal-logo {
            width: 80px;
            height: 80px;
            background-color: #ff9500;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
            font-size: 28px;
            flex-shrink: 0;
        }

        .modal-title {
            font-size: 24px;
            color: #333;
            font-weight: 500;
            flex: 1;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 32px;
            color: #999;
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.3s;
        }

        .close-btn:hover {
            color: #333;
        }

        /* Instruction Text */
        .instruction-text {
            text-align: center;
            color: #999;
            font-size: 14px;
            letter-spacing: 0.5px;
            margin-bottom: 30px;
            text-transform: uppercase;
        }

        /* Code Box Section */
        .code-section {
            display: flex;
            gap: 0;
            margin-bottom: 35px;
            align-items: stretch;
        }

        .code-box {
            flex: 1;
            border: 2px dashed #2b6f7e;
            background-color: #fffef0;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            font-weight: bold;
            color: #333;
            letter-spacing: 2px;
        }

        .copy-btn {
            background-color: #2b6f7e;
            color: white;
            border: none;
            padding: 20px 25px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background-color 0.3s;
            white-space: nowrap;
        }

        .copy-btn:hover {
            background-color: #234f5a;
        }

        .copy-icon {
            width: 18px;
            height: 18px;
        }

        /* Feedback Section */
        .feedback-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
            padding: 0 10px;
        }

        .feedback-icons {
            display: flex;
            gap: 12px;
        }

        .feedback-icon {
            width: 44px;
            height: 44px;
            border: 1px solid #ddd;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            background: white;
            transition: all 0.3s;
        }

        .feedback-icon:hover {
            border-color: #2b6f7e;
            color: #2b6f7e;
        }

        .feedback-label {
            font-size: 12px;
            color: #999;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        /* Buttons Section */
        .buttons-section {
            display: flex;
            gap: 0;
            margin-bottom: 30px;
        }

        .go-to-store-btn {
            flex: 1;
            background-color: #2b6f7e;
            color: white;
            border: none;
            padding: 15px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .go-to-store-btn:hover {
            background-color: #234f5a;
        }

        /* Coupon Detail */
        .coupon-detail {
            border-top: 1px solid #eee;
            padding-top: 20px;
        }

        .detail-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 10px 0;
        }

        .detail-label {
            font-size: 13px;
            color: #999;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .detail-toggle {
            font-size: 20px;
            color: #999;
            transition: transform 0.3s;
        }

        .detail-toggle.open {
            transform: rotate(180deg);
        }

        .detail-content {
            display: none;
            margin-top: 15px;
            padding: 15px;
            background-color: #f9f9f9;
            border-radius: 6px;
            font-size: 13px;
            color: #666;
            line-height: 1.6;
        }

        .detail-content.open {
            display: block;
        }

        /* Responsive */
        @media (max-width: 576px) {
            .coupon-modal {
                padding: 25px;
                width: 95%;
            }

            .modal-header-section {
                flex-direction: column;
                align-items: flex-start;
                margin-bottom: 25px;
            }

            .modal-title {
                font-size: 20px;
            }

            .code-section {
                flex-direction: column;
            }

            .code-box {
                border-radius: 6px 6px 0 0;
            }

            .copy-btn {
                border-radius: 0 0 6px 6px;
                width: 100%;
            }

            .feedback-section {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }

            .feedback-icons {
                order: 2;
            }

            .feedback-label {
                order: 1;
            }
        }
/* ===== Responsive ===== */
@media (max-width: 768px) {
    .store-logo-lg {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .coupon-card .card-body {
        padding: 20px !important;
    }

    .btn-teal {
        font-size: 13px;
        padding: 10px;
    }

    .footer-title {
        font-size: 22px;
    }

    .about-highlight {
        margin-top: 20px;
    }
}