:root {
    --primary: #FF6B35;
    --secondary: #2C3E50;
    --accent: #1ABC9C;
    --background: #F8F9FA;
    --border: #E0E0E0;
    --text: #333;
    --text-light: #666;
    --error: #E74C3C;
    --success: #27AE60;
}

* {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

body {
    background-color: var(--background);
    color: var(--text);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(26, 188, 156, 0.1) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-section h1 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.search-form .input-group {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 0.75rem 1.5rem;
}

.search-form .btn {
    border: none;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.search-form .btn:hover {
    background-color: #E55A2B;
}

/* Order Card */
.order-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary);
}

.order-card h3 {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.order-card .customer {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.status-badge i {
    margin-right: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.description-box {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    margin-bottom: 1.5rem;
}

.comments-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.comment-item {
    background: var(--background);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--accent);
}

.comment-author {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.comment-text {
    margin-top: 0.5rem;
    color: var(--text);
}

.order-not-found {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-not-found .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.order-not-found h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Login Section */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.card {
    border: none;
    border-radius: 12px;
}

.card-header {
    border-bottom: 2px solid var(--border);
    border-radius: 12px 12px 0 0 !important;
}

.form-control {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
}

.form-control-color {
    height: 45px;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #E55A2B;
    border-color: #E55A2B;
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

.btn-success:hover {
    background-color: #229954;
    border-color: #229954;
}

.btn-info {
    background-color: #3498DB;
    border-color: #3498DB;
}

.btn-info:hover {
    background-color: #2980B9;
    border-color: #2980B9;
}

.btn-danger {
    background-color: var(--error);
    border-color: var(--error);
}

.btn-danger:hover {
    background-color: #C0392B;
    border-color: #C0392B;
}

.btn-outline-danger {
    color: var(--error);
    border-color: var(--error);
}

.btn-outline-danger:hover {
    background-color: var(--error);
    border-color: var(--error);
}

/* Tables */
.table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background-color: var(--background);
}

.table thead th {
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    color: var(--secondary);
}

.table tbody tr:hover {
    background-color: var(--background);
}

.table tbody td {
    vertical-align: middle;
    border-color: var(--border);
}

/* Admin Section */
.admin-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-tabs {
    border-bottom: 2px solid var(--border);
}

.nav-tabs .nav-link {
    color: var(--text-light);
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background-color: transparent;
    border-bottom-color: var(--primary);
}

.tab-content {
    background: white;
}

/* Status List */
.status-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.status-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-item-color {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid var(--border);
}

.status-item-name {
    font-weight: 600;
    color: var(--secondary);
}

.status-item-icon {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 999;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: white;
    margin-top: auto;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .order-card {
        padding: 1.5rem;
    }

    .order-card h3 {
        font-size: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .search-form .input-group {
        flex-direction: column;
    }

    .search-form .input-group-lg > .form-control,
    .search-form .input-group-lg > .btn {
        width: 100%;
    }

    .admin-section {
        padding: 1rem;
    }

    .nav-tabs {
        flex-wrap: wrap;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .table {
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.main-content {
    flex: 1;
}

html, body {
    height: 100%;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* Badge */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: slideIn 0.3s ease-out;
}

/* Custom Bootstrap Overrides */
.form-label {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.alert {
    border-radius: 8px;
    border: none;
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--error);
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success);
}

.alert-info {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498DB;
}
