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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: #1a1a1a;
    color: white;
    padding: 15px 0;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    text-transform: lowercase;
}

.logo-x {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: white;
    color: black;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin: 0 2px;
}

.tagline {
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Navigation */
.nav-menu {
    background: linear-gradient(135deg, #00bfa5 0%, #00d4b8 100%);
    padding: 0;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu li {
    flex: 1;
}

.nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #00bfa5;
    text-decoration: none;
}

/* Login Container */
.login-container {
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: 8px;
    color: #00bfa5;
    font-size: 12px;
    text-decoration: none;
}

.btn-primary, .btn-secondary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
    transition: opacity 0.3s;
}

.btn-primary {
    background-color: #1a1a1a;
    color: white;
}

.btn-secondary {
    background-color: #00bfa5;
    color: white;
}

.btn-primary:hover, .btn-secondary:hover {
    opacity: 0.9;
}

/* Content Area */
.content-area {
    min-height: 500px;
    padding: 40px 20px;
}

.page-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-box label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.search-input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-input-group button {
    padding: 12px 20px;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.help-link {
    text-align: center;
    margin-top: 10px;
    color: #00bfa5;
    font-size: 12px;
}

/* Order Status */
.order-status-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.order-info {
    flex: 1;
}

.status-badge {
    font-size: 24px;
    margin-bottom: 20px;
}

.status-badge .status-text {
    color: #00bfa5;
    font-weight: bold;
}

.order-number {
    margin: 15px 0;
    font-size: 16px;
}

.order-number .edit-icon {
    color: #00bfa5;
    cursor: pointer;
    margin-left: 5px;
}

.order-details-link {
    color: #00bfa5;
    text-decoration: none;
}

.order-summary-box {
    background: linear-gradient(135deg, #00bfa5 0%, #00d4b8 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    flex: 0 0 300px;
}

.order-summary-box p {
    margin: 10px 0;
    font-size: 14px;
}

.btn-contact {
    width: 100%;
    padding: 12px;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 0 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.timeline-item {
    position: relative;
    text-align: center;
    z-index: 2;
}

.timeline-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #00bfa5;
    margin: 0 auto 10px;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #00bfa5;
}

.timeline-item.inactive .timeline-dot {
    background-color: #ddd;
    box-shadow: 0 0 0 2px #ddd;
}

.timeline-label {
    font-size: 12px;
    font-weight: 500;
}

.timeline-date {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}

/* Delivery Info */
.delivery-info {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.btn-green, .btn-black {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}

.btn-green {
    background-color: #00bfa5;
    color: white;
}

.btn-black {
    background-color: #1a1a1a;
    color: white;
}

/* Table */
.data-table-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
}

.data-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.data-table-header h2 {
    font-size: 20px;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

thead {
    background: linear-gradient(135deg, #00bfa5 0%, #00d4b8 100%);
    color: white;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    font-weight: 500;
    font-size: 13px;
}

td {
    font-size: 13px;
}

.icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #00bfa5;
    background-color: white;
    color: #00bfa5;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    font-size: 12px;
}

.icon-btn:hover {
    background-color: #00bfa5;
    color: white;
}

.quantity-change {
    color: #ff6b6b;
}

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

.pagination button {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    border-radius: 4px;
}

.pagination button:hover {
    background-color: #f5f5f5;
}

.pagination button.active {
    background-color: #00bfa5;
    color: white;
    border-color: #00bfa5;
}

.table-actions {
    margin-top: 20px;
}

.btn-download {
    padding: 10px 20px;
    background-color: #00bfa5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

/* Filter Section */
.filter-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.filter-section select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Newsletter Footer */
.newsletter-footer {
    background-color: #2a2a2a;
    color: white;
    padding: 30px 20px;
}

.newsletter-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #00bfa5;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #444;
    background-color: #333;
    color: white;
    border-radius: 4px;
}

.btn-submit {
    width: 50px;
    height: 45px;
    background-color: #00bfa5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    margin: 20px;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
}

.modal-content.modal-large {
    max-width: 1200px;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #00bfa5 0%, #00d4b8 100%);
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.modal-close {
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #1a1a1a;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    width: auto;
    padding: 10px 20px;
    margin: 0;
}

/* Invoice Styles */
.invoice-container {
    font-family: Arial, sans-serif;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #00bfa5;
}

.invoice-logo {
    font-size: 28px;
    font-weight: bold;
}

.invoice-logo .logo-x {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-color: #1a1a1a;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 26px;
    margin: 0 2px;
}

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

.invoice-info h3 {
    margin: 0 0 10px 0;
    color: #00bfa5;
    font-size: 20px;
}

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

.invoice-section h4 {
    color: #00bfa5;
    margin-bottom: 10px;
    font-size: 16px;
}

.invoice-section p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.6;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.invoice-table thead {
    background: linear-gradient(135deg, #00bfa5 0%, #00d4b8 100%);
    color: white;
}

.invoice-table th,
.invoice-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.invoice-table th {
    font-weight: 500;
    font-size: 13px;
}

.invoice-table td {
    font-size: 13px;
}

.invoice-table .text-right {
    text-align: right;
}

.invoice-table .text-center {
    text-align: center;
}

.invoice-total {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.invoice-total-box {
    width: 300px;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
}

.invoice-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.invoice-total-row.total {
    border-top: 2px solid #00bfa5;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: bold;
    font-size: 16px;
    color: #00bfa5;
}

.invoice-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* Orders History Styles */
.orders-history-container {
    font-family: Arial, sans-serif;
}

.orders-history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.orders-history-table thead {
    background: linear-gradient(135deg, #00bfa5 0%, #00d4b8 100%);
    color: white;
}

.orders-history-table th,
.orders-history-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.orders-history-table th {
    font-weight: 500;
    font-size: 13px;
}

.orders-history-table td {
    font-size: 13px;
}

.orders-history-table .text-right {
    text-align: right;
}

.orders-history-table .text-center {
    text-align: center;
}

.orders-history-table tbody tr {
    cursor: pointer;
    transition: background-color 0.2s;
}

.orders-history-table tbody tr:hover {
    background-color: #f5f5f5;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.orders-summary {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    gap: 15px;
}

.summary-card {
    flex: 1;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.summary-card h4 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.summary-card .value {
    font-size: 24px;
    font-weight: bold;
    color: #00bfa5;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu ul {
        flex-direction: column;
    }

    .order-status-container {
        flex-direction: column;
    }

    .newsletter-footer .container {
        flex-direction: column;
    }

    .timeline {
        padding: 0 20px;
    }

    .modal-content {
        width: 95%;
        margin: 10px;
    }

    .invoice-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .invoice-header {
        flex-direction: column;
        gap: 20px;
    }

    .invoice-info {
        text-align: left;
    }

    .orders-summary {
        flex-direction: column;
    }

    .orders-history-table {
        font-size: 11px;
    }

    .orders-history-table th,
    .orders-history-table td {
        padding: 8px 4px;
    }
}
