/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    /* Disable right-click */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles - Linktree Style */
.header {
    background: linear-gradient(135deg, #42b883, #369870);
    color: white;
    padding: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.profile-avatar {
    margin-bottom: 15px;
    position: relative;
}

.avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.avatar-img:hover {
    transform: scale(1.05);
}

.profile-info {
    text-align: center;
    max-width: 400px;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-bio {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
}

.search-bar {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background: transparent;
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar button {
    background: #42b883;
    border: none;
    padding: 15px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 25px 25px 0;
}

.search-bar button:hover {
    background: #369870;
}

/* Old header icons styles removed */

/* Navigation */
.nav {
    background: white;
    border-bottom: 1px solid #e5e7e9;
    padding: 12px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #31353b;
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    background: #f8f9fa;
    border: 2px solid transparent;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: white;
    background: #42b883;
    border-color: #42b883;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 184, 131, 0.3);
}

.nav-menu a i {
    font-size: 18px;
}

/* Banner */
.banner {
    margin: 20px 0;
}

.banner-slide img {
    width: 100%;
    height: 180px !important;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f5f5f5;
}

/* Consistent banner height across all devices */
@media (min-width: 1201px) {
    .banner-slide img {
        height: 180px !important;
    }
}

@media (max-width: 1200px) {
    .banner-slide img {
        height: 180px !important;
    }
}

@media (max-width: 768px) {
    .banner-slide img {
        height: 180px !important;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .banner-slide img {
        height: 180px !important;
        border-radius: 8px;
    }
}

/* Products Section */
.products-section {
    background: white;
    padding: 24px;
    border-radius: 8px;
    margin: 16px 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7e9;
}

.section-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    border-bottom: 3px solid #42b883;
    padding-bottom: 10px;
    display: inline-block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e5e7e9;
    position: relative;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #42b883;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 12px;
}

.product-title {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #31353b;
    line-height: 1.3;
    height: 34px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    color: #ff5722;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #8d96aa;
}

.product-location {
    font-size: 11px;
    color: #8d96aa;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: #ffc107;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: #42b883;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #42b883;
}

/* Admin 
Styles */
.admin-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
    color: #ee4d2d;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ee4d2d;
}

.btn {
    background: #ee4d2d;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn:hover {
    background: #d63916;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #545b62;
}

.products-list {
    margin-top: 30px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    gap: 15px;
}

.product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.product-item-info {
    flex: 1;
}

.product-item-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.product-item-price {
    color: #ee4d2d;
    font-weight: bold;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.btn-delete:hover {
    background: #c82333;
}

.btn-edit {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 8px;
}

.btn-edit:hover {
    background: #218838;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Drag and Drop Styles */
.drag-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #999;
    cursor: grab;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.drag-handle:hover {
    background: #f0f0f0;
    color: #666;
}

.drag-handle:active {
    cursor: grabbing;
}

.draggable-item {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.draggable-item.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
    border-color: #42b883;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.draggable-item.drag-over {
    border-color: #42b883;
    background: rgba(66, 184, 131, 0.05);
    transform: translateY(-2px);
}

.product-item.draggable-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    gap: 15px;
    background: white;
    cursor: default;
}

.banner-item.draggable-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    gap: 15px;
    background: white;
    cursor: default;
}

/* Drag indicator */
.drag-indicator {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #42b883;
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.drag-indicator.active {
    opacity: 1;
}

/* Drag instructions */
.drag-instructions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(66, 184, 131, 0.1);
    border: 1px solid rgba(66, 184, 131, 0.2);
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #42b883;
}

.drag-instructions i {
    font-size: 16px;
}

/* Mobile responsive for drag functionality */
@media (max-width: 768px) {
    .drag-handle {
        width: 25px;
        height: 25px;
    }

    .drag-instructions {
        font-size: 12px;
        padding: 8px 12px;
    }

    .product-item.draggable-item,
    .banner-item.draggable-item {
        padding: 12px;
        gap: 10px;
    }
}

/* Login Styles */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-header {
    margin-bottom: 30px;
    color: #ee4d2d;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    /* Mobile Header - Linktree Style */
    .header {
        padding: 20px 0;
    }

    .profile-name {
        font-size: 24px;
    }

    .profile-bio {
        font-size: 14px;
        padding: 0 10px;
    }

    .avatar-img {
        width: 70px;
        height: 70px;
    }

    .search-bar {
        max-width: 90%;
        margin: 0 auto;
    }

    .search-bar input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .search-bar button {
        padding: 12px 16px;
    }

    /* Mobile Navigation */
    .nav {
        padding: 10px 0;
    }

    .nav-menu {
        justify-content: center;
    }

    .nav-menu a {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 20px;
    }

    /* Mobile Banner */
    .banner {
        margin: 10px 0;
    }

    .banner-slide img {
        height: 180px;
        border-radius: 8px;
    }

    /* Mobile Products Section */
    .products-section {
        padding: 15px;
        margin: 10px 0;
        border-radius: 8px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    /* Mobile Products Grid - 2 columns like Shopee */
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .product-card {
        border-radius: 8px;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    }

    .product-card:hover {
        transform: none;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title {
        font-size: 12px;
        height: 32px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 6px;
    }

    .product-price {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .product-rating {
        font-size: 10px;
        gap: 3px;
    }

    .stars {
        font-size: 10px;
    }

    /* Mobile Footer - Hidden */
    .footer {
        display: none;
    }

    /* Mobile Admin Styles */
    .admin-container,
    .login-container {
        margin: 20px auto;
        padding: 20px;
        border-radius: 8px;
    }

    .admin-header h1 {
        font-size: 22px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .product-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 10px;
    }

    .product-item img {
        width: 50px;
        height: 50px;
        align-self: center;
    }

    .product-item-info {
        text-align: center;
        width: 100%;
    }

    .btn-delete {
        align-self: center;
        margin-top: 10px;
    }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }

    .header-top {
        padding: 0 5px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .search-bar {
        margin: 0 5px;
    }

    .products-section {
        padding: 12px;
    }

    .products-grid {
        gap: 6px;
    }

    .product-image {
        height: 140px;
    }

    .product-info {
        padding: 8px;
    }

    .product-title {
        font-size: 11px;
        height: 28px;
    }

    .product-price {
        font-size: 13px;
    }

    .admin-container,
    .login-container {
        margin: 10px;
        padding: 15px;
    }
}

/* Flas
h Sale Badge */
.flash-sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(45deg, #ff4757, #ff3742);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.product-card {
    position: relative;
}

/* Price Styles with Discount */
.price-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.original-price {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
    font-weight: normal;
}

.discount-badge {
    background: #ff4757;
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: bold;
    display: inline-block;
    width: fit-content;
    margin-top: 2px;
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding: 4px 0;
}

.category-btn {
    background: #f8f9fa;
    border: 1px solid #e5e7e9;
    color: #31353b;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-btn.active {
    background: #42b883;
    color: white;
    border-color: #42b883;
}

.category-btn:hover:not(.active) {
    background: #e8f5e8;
    border-color: #42b883;
    color: #42b883;
}

/* Flash Sale Section */
.flash-sale-section {
    background: linear-gradient(135deg, #42b883, #369870);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(66, 184, 131, 0.3);
    position: relative;
    overflow: hidden;
}

.flash-sale-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.flash-sale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.flash-sale-subtitle {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.9;
    margin-left: 8px;
}

.flash-sale-link a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.flash-sale-link a:hover {
    opacity: 1;
}

.flash-sale-title {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flash-sale-timer {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

/* Flash Sale Grid - Horizontal Scroll for All Devices */
.flash-sale-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

/* Hide scrollbar for all browsers */
.flash-sale-grid::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

.flash-sale-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}

/* Flash Sale Product Cards in Horizontal Scroll */
.flash-sale-grid .product-card {
    min-width: 160px;
    max-width: 160px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    scroll-snap-align: start;
}

.flash-sale-grid .product-card:hover {
    transform: translateY(-2px);
}

.flash-sale-grid .product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.flash-sale-grid .product-info {
    padding: 8px;
}

.flash-sale-grid .product-title {
    font-size: 11px;
    color: #333;
    height: 32px;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flash-sale-grid .product-price {
    font-size: 13px;
    font-weight: bold;
    color: #ff4757;
    margin-bottom: 2px;
}

.flash-sale-grid .original-price {
    font-size: 10px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.flash-sale-grid .product-rating {
    font-size: 9px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 2px;
}

.flash-sale-grid .stars {
    color: #ffc107;
    font-size: 9px;
}

.flash-sale-grid .flash-sale-badge {
    top: 4px;
    left: 4px;
    padding: 2px 4px;
    font-size: 8px;
    border-radius: 6px;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.banner-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

.banner-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dot.active {
    background: white;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.admin-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.admin-tab.active {
    color: #ee4d2d;
    border-bottom-color: #ee4d2d;
}

.admin-tab:hover {
    color: #ee4d2d;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Form Sections */
.form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-section h3 {
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* Banner Management */
.banner-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    gap: 15px;
    background: white;
}

.banner-item img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.banner-item-info {
    flex: 1;
}

.banner-item-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.banner-item-url {
    color: #666;
    font-size: 12px;
    word-break: break-all;
}

/* Category Management */
.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 8px;
    background: white;
}

.category-name {
    font-weight: 500;
    color: #333;
}

.category-count {
    background: #ee4d2d;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 10px;
}

/* Success/Error Messages */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
}

.info-message {
    background: #d1ecf1;
    color: #0c5460;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #bee5eb;
}

/* Mobile Responsive for New Features */
@media (max-width: 768px) {
    .flash-sale-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .flash-sale-title {
        font-size: 18px;
    }

    .category-filter {
        gap: 8px;
    }

    .category-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .admin-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .admin-tab {
        padding: 10px 15px;
        font-size: 13px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .banner-item {
        flex-direction: column;
        text-align: center;
    }

    .banner-item img {
        width: 80px;
        height: 50px;
    }

    .price-container {
        align-items: flex-start;
    }

    .original-price {
        font-size: 10px;
    }

    .discount-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
}

/* Sel
ect dropdown styling */
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.form-group select:focus {
    outline: none;
    border-color: #ee4d2d;
}

/* Checkbox styling */
.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    transform: scale(1.2);
}

.form-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Small text styling */
.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* 
Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7e9;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #8d96aa;
}

.bottom-nav-item.active {
    color: #42b883;
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.bottom-nav-item:hover {
    color: #42b883;
    background: rgba(66, 184, 131, 0.05);
}

/* Show bottom nav only on mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add bottom padding to body to prevent content being hidden behind bottom nav */
    body {
        padding-bottom: 70px;
    }

    /* Flash sale section always visible on mobile */
    .flash-sale-section {
        display: block;
        margin: 10px 0;
        padding: 15px;
    }

    /* Flash sale mobile optimizations */
    .flash-sale-header {
        margin-bottom: 12px;
    }

    .flash-sale-title {
        font-size: 16px;
    }

    .flash-sale-grid {
        gap: 8px;
        padding: 5px 0;
    }

    .flash-sale-grid .product-card {
        min-width: 140px;
        max-width: 140px;
    }

    .flash-sale-grid .product-image {
        height: 100px;
    }

    .flash-sale-grid .product-info {
        padding: 6px;
    }

    .flash-sale-grid .product-title {
        font-size: 10px;
        height: 28px;
    }

    .flash-sale-grid .product-price {
        font-size: 12px;
    }
}

/* Section visibility control */
.section-hidden {
    display: none !important;
}

.section-visible {
    display: block !important;
}