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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a1a;
    color: white;
    min-height: 100vh;
}

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

.header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #444;
}

.back-btn {
    background-color: #555;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s ease;
    margin-right: 20px;
}

.back-btn:hover {
    background-color: #666;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: white;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section {
    width: 100%;
}

.table-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #444;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.table-container {
    overflow-x: auto;
    border-radius: 8px;
    background-color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
}

th {
    background-color: #444;
    padding: 15px;
    text-align: left;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 2px solid #555;
}

td {
    padding: 15px;
    border-bottom: 1px solid #444;
}

.clickable-row {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.clickable-row:hover {
    background-color: #3a3a3a !important;
}

.clickable-row:active {
    background-color: #4a4a4a !important;
}

.center {
    text-align: center;
}

.colis-center {
    text-align: center;
    font-weight: 500;
}

.type-icon {
    width: 24px;
    height: 24px;
    background-color: #d4621a;
    border-radius: 4px;
    display: inline-block;
    position: relative;
}

.type-icon.truck {
    background-color: #4a9eff;
}

.type-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 2px;
}

.cmd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.cmd-dot.green {
    background-color: #4CAF50;
}

.cmd-dot.orange {
    background-color: #FF9800;
}

.cmd-dot.red {
    background-color: #F44336;
}

.cmd-code {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #ccc;
}

.quantity-badge {
    background-color: #555;
    color: #ff6b6b;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 5px;
    font-weight: 500;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-green {
    background-color: #4CAF50;
}

.status-orange {
    background-color: #FF9800;
}

.status-red {
    background-color: #F44336;
}

/* Responsive design for tablets */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }

    .page-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .table-title {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    th, td {
        padding: 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .back-btn {
        align-self: flex-start;
        margin-right: 0;
    }

    .page-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .content {
        gap: 30px;
    }

    .table-container {
        font-size: 0.8rem;
    }

    th, td {
        padding: 10px 8px;
    }

    .quantity-badge {
        font-size: 0.7rem;
        padding: 1px 4px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .page-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .table-title {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    th, td {
        padding: 8px 5px;
        font-size: 0.75rem;
    }

    .type-icon {
        width: 20px;
        height: 20px;
    }

    .type-icon::before {
        width: 10px;
        height: 10px;
    }
}

/* Footer */
.footer {
    margin-top: 40px;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    border-top: 2px solid #444;
}

.footer-btn {
    background-color: #4a9eff;
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background-color: #6bb3ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.footer-btn:active {
    transform: translateY(0);
}