/* Orders Page Styles */

.orders-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
}

.orders-title {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: bold;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

/* Order Card */
.order-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Order Header */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.order-header h3 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.order-date {
    margin: 4px 0 0 0;
    color: #888;
    font-size: 12px;
}

.status-badge {
    background: #27ae60;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
}

/* Order Body */
.order-body {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.order-body p {
    margin: 6px 0;
}

.order-body strong {
    color: #333;
}

.items-list {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.item {
    margin: 4px 0;
    color: #666;
    font-size: 12px;
}

/* No Orders Message */
.no-orders-message {
    text-align: center;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 6px;
    border: 1px dashed #ddd;
}

.no-orders-message p {
    color: #888;
    font-size: 16px;
    margin-bottom: 15px;
}

.link-btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
}

.link-btn:hover {
    background: #d63a2b;
}

/* Back Link */
.back-link {
    display: block;
    text-align: center;
    color: #e74c3c;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
}

.back-link:hover {
    color: #d63a2b;
}

/* Responsive */
@media (max-width: 600px) {
    .orders-container {
        padding: 12px;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .status-badge {
        align-self: flex-start;
    }
}
