
.orders-container {
    padding: 25px;
    background: var(--dark-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 153, 0, 0.1);
    margin-bottom: 30px;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.orders-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.orders-header p {
    color: var(--text-light);
    opacity: 0.8;
}

.orders-filters {
    margin-bottom: 20px;
}
.user-search-form {
    margin: 20px 0;
}

.search-box {
    position: relative;
    max-width: 500px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    background: none;
    border: none;
    cursor: pointer;
}

.clear-search {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    text-decoration: none;
}

.table-responsive {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.orders-table th {
    padding: 15px;
    color: var(--text-light);
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid rgba(255, 153, 0, 0.1);
}

.orders-table th i {
    margin-right: 8px;
    color: var(--primary-color);
}

.orders-table td {
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
}

.orders-table tr:hover td {
    background: rgba(255, 153, 0, 0.05);
}

.orders-table tr td:first-child {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.orders-table tr td:last-child {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.status-pending {
    background: rgba(255, 153, 0, 0.1);
    color: #ffa600;
}

.status-completed {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
}

.status-cancelled {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
}

.payment-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.05);
}

.no-orders {
    text-align: center;
    padding: 50px 20px;
}

.no-orders i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.no-orders h3 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.no-orders p {
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .orders-container {
        padding: 15px;
    }

    .orders-table th {
        display: none;
    }

    .orders-table td {
        display: block;
        padding: 10px 15px;
        text-align: right;
    }

    .orders-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 500;
        color: var(--primary-color);
    }

    .orders-table tr {
        display: block;
        margin-bottom: 15px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: var(--border-radius);
    }
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-button {
    padding: 8px 12px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    min-width: fit-content;  /* Add this line */
}

.action-button:hover {
    transform: translateY(-2px);
}

.action-button.view-button {
    background: var(--primary-color);
}

.action-button.delete-button {
    background: #e74c3c;
}

.action-button i {
    font-size: 0.9em;
}

/* Alert Messages */
.alert {
    padding: 12px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.price-breakdown {
    display: block;
    font-size: 0.9em;
    line-height: 1.4;
}

.price-breakdown strong {
    color: var(--primary-color);
    font-size: 1.1em;
}