/* Dizzies Mount - Main Stylesheet */

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-hover: #d63d56;
    --gold-color: #c9a227;
    --light-bg: #f8f9fa;
    --dark-text: #1a1a2e;
    --light-text: #ffffff;
    --gray-text: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.header {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-top {
    background: var(--secondary-color);
    padding: 2px 0;
    font-size: 0.85rem;
}

.header-top a {
    color: var(--light-text);
    margin-right: 20px;
}

.header-top a:hover {
    color: var(--accent-color);
}

.header-main {
    padding: 5px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
}

.logo span {
    color: var(--accent-color);
}

.search-bar {
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: none;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    color: var(--light-text);
    font-size: 0.95rem;
}

.search-bar input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-actions a {
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

.header-actions i {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.header-actions .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation - Fixed */
.navbar {
    background: var(--secondary-color);
    padding: 0;
    position: relative;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.navbar-nav .nav-item {
    position: relative;  /* Changed from absolute to relative */
}

.navbar-nav .nav-link {
    color: var(--light-text);
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--accent-color);
    color: var(--light-text);
}

/* Dropdown Menu - Fixed */
.dropdown-menu {
    position: absolute;  /* Changed from flex to absolute */
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 0;
    margin: 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-text);
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--accent-color);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar {
        position: relative;
    }
    
    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--secondary-color);
        z-index: 1000;
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .navbar-nav .nav-item {
        position: static;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        width: 100%;
    }
    
    .nav-item.active-dropdown .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        color: var(--light-text);
        padding-left: 35px;
        border-bottom-color: rgba(255,255,255,0.1);
    }
    
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1);
        color: var(--accent-color);
    }
    
    /* Mobile menu button */
    .mobile-menu-toggle {
        display: block;
        background: var(--accent-color);
        border: none;
        color: white;
        font-size: 1rem;
        cursor: pointer;
        padding: 12px 20px;
        border-radius: 5px;
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-gold {
    background: var(--gold-color);
    color: var(--primary-color);
}

.btn-gold:hover {
    background: #b8941f;
    color: var(--primary-color);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Category Cards */
.categories-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray-text);
    font-size: 1.1rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-card .image-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card .content {
    padding: 25px;
    text-align: center;
}

.category-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.category-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.category-card .btn {
    padding: 10px 25px;
    font-size: 0.85rem;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.filter-bar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.filter-bar select,
.filter-bar input {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.9rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.product-images {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.product-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-images img.active {
    opacity: 1;
}

.image-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.image-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.image-dots .dot.active {
    background: var(--accent-color);
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.product-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-bottom: 12px;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-price .current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.product-price .old-price {
    font-size: 1rem;
    color: var(--gray-text);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 0.85rem;
    text-align: center;
}

.product-actions .btn-whatsapp {
    background: #25d366;
    color: white;
}

.product-actions .btn-whatsapp:hover {
    background: #128c7e;
}

/* Info Pages */
.info-section {
    padding: 80px 0;
}

.info-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.info-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.info-content {
    padding: 60px 0;
}

.info-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.info-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 20px;
}

.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}

.info-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.info-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* About Page */
.about-hero {
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    color: white;
    text-align: center;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.stats-section {
    padding: 60px 0;
    background: var(--accent-color);
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.team-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card .content {
    padding: 25px;
}

.team-card h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-card p {
    color: var(--gray-text);
}

/* Partner Page */
.partner-section {
    padding: 80px 0;
}

.partner-benefits {
    background: var(--light-bg);
    padding: 60px;
    border-radius: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--gray-text);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 80px 0 0;
}

.footer-widget h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-widget p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Admin Styles */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--primary-color);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar .logo {
    padding: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav ul {
    list-style: none;
    padding: 0;
}

.admin-nav li {
    margin-bottom: 5px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(233, 69, 96, 0.2);
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.admin-nav i {
    font-size: 1.2rem;
    width: 25px;
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    background: var(--light-bg);
    min-height: 100vh;
}

.admin-header {
    background: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.admin-content {
    padding: 30px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card .icon.blue { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.stat-card .icon.green { background: rgba(39, 174, 96, 0.1); color: #27ae60; }
.stat-card .icon.orange { background: rgba(243, 156, 18, 0.1); color: #f39c12; }
.stat-card .icon.red { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }

.stat-card .info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.stat-card .info p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Data Tables */
.data-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.data-card .header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-card .header h3 {
    font-size: 1.3rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr:hover {
    background: rgba(233, 69, 96, 0.03);
}

.data-table .actions {
    display: flex;
    gap: 10px;
}

.data-table .btn-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.data-table .btn-icon.edit {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.data-table .btn-icon.delete {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.data-table .btn-icon:hover {
    transform: scale(1.1);
}

/* Forms */
.form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

/* Image Upload */
.image-upload {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.image-upload:hover {
    border-color: var(--accent-color);
    background: rgba(233, 69, 96, 0.03);
}

.image-upload i {
    font-size: 3rem;
    color: var(--gray-text);
    margin-bottom: 15px;
}

.image-upload p {
    color: var(--gray-text);
    margin-bottom: 10px;
}

.image-upload small {
    color: #adb5bd;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    border-radius: 8px;
    background: white;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--accent-color);
    color: white;
}

.pagination .active {
    background: var(--accent-color);
    color: white;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    transform: translateY(-20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal h3 {
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}

/* Production Status */
.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.status-new { background: rgba(108, 117, 125, 0.1); color: #6c757d; }
.status-processing { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.status-production { background: rgba(243, 156, 18, 0.1); color: #f39c12; }
.status-ready { background: rgba(39, 174, 96, 0.1); color: #27ae60; }
.status-delivered { background: rgba(155, 89, 182, 0.1); color: #9b59b6; }
.status-cancelled { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }

/* Progress Bar */
.progress-tracker {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
}

.progress-tracker::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-color);
    z-index: 0;
}

.progress-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.progress-step .step-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.1rem;
    color: var(--gray-text);
}

.progress-step.active .step-icon {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.progress-step.completed .step-icon {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.progress-step p {
    font-size: 0.85rem;
    color: var(--gray-text);
}

.progress-step.active p,
.progress-step.completed p {
    color: var(--primary-color);
    font-weight: 500;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px;
}

.login-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
}

.login-box .logo {
    text-align: center;
    margin-bottom: 40px;
}

.login-box .logo h1 {
    color: var(--primary-color);
    font-size: 2rem;
}

.login-box .logo span {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .navbar-nav {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
}

/* Print Styles for Invoice */
@media print {
    .no-print {
        display: none !important;
    }
    
    .invoice {
        padding: 0 !important;
        box-shadow: none !important;
    }
}

/* Invoice Styles */
.invoice {
    background: white;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.invoice-header .company-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.invoice-header .invoice-info {
    text-align: right;
}

.invoice-header .invoice-info h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.invoice-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.invoice-details h4 {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--gray-text);
    margin-bottom: 10px;
}

.invoice-details p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.invoice-table {
    width: 100%;
    margin-bottom: 40px;
}

.invoice-table th,
.invoice-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.invoice-table th {
    background: var(--light-bg);
    font-weight: 600;
}

.invoice-totals {
    width: 300px;
    margin-left: auto;
}

.invoice-totals .row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.invoice-totals .row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    margin-top: 10px;
    padding-top: 15px;
}

.invoice-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.invoice-footer p {
    color: var(--gray-text);
    margin-bottom: 5px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
/* Add to assets/css/style.css - Responsive Navigation Updates */

/* Desktop Navigation - Horizontal tabs */
@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar-nav .nav-item {
        position: relative;
    }
    
    .navbar-nav .nav-link {
        padding: 15px 20px;
        white-space: nowrap;
    }
}

/* Mobile Navigation - Hidden by default, show hamburger menu */
@media (max-width: 991px) {
    /* Hide the navbar by default on mobile */
    .navbar {
        position: relative;
    }
    
    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--secondary-color);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
    }
    
    .nav-item.active-dropdown .dropdown-menu {
        display: block;
    }
    
    /* Hamburger menu button */
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: var(--light-text);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 10px;
    }
}

/* Desktop - Hide hamburger */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile menu toggle button styles */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
}
