* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f5f6fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #1877f2; /* Facebook-like blue, matches screenshot */
    color: white;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.logo-img {
    margin-right: 10px;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.top-nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
    opacity: 0.9;
}

.top-nav a:hover {
    opacity: 1;
}

/* Layout */
.container {
    display: flex;
    flex: 1;
    max-width: 100%;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: #fff;
    border-right: 1px solid #e1e4e8;
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-shrink: 0;
}

.user-info-card {
    margin-bottom: 30px;
    font-size: 13px;
    color: #666;
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.status-badge {
    color: #52c41a; /* Green */
    font-size: 12px;
    font-weight: normal;
}

.user-details p {
    margin-bottom: 8px;
    line-height: 1.4;
}

.verified {
    color: #52c41a;
}

.side-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    text-decoration: none;
    color: #666;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.menu-item:hover {
    background-color: #f0f2f5;
}

.menu-item.active {
    background-color: #1877f2;
    color: white;
    box-shadow: 0 2px 6px rgba(24, 119, 242, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px 30px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.page-title {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: bold;
    color: #333;
}

/* Search Bar */
.search-bar {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.date-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.date-input-wrapper {
    position: relative;
}

.date-input-wrapper input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 140px;
    outline: none;
    color: #666;
}

.btn {
    padding: 8px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.2s;
}

.btn-search {
    background-color: #1877f2;
    color: white;
    margin-left: 10px;
}

.btn-reset {
    background-color: #6c757d;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}

/* Table */
.order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 30px;
}

.order-table th {
    text-align: left;
    padding: 15px 10px;
    background-color: #fafafa;
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.order-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    vertical-align: middle;
}

.order-table tr:hover {
    background-color: #fbfbfb;
}

.col-name {
    color: #333;
    max-width: 300px;
}

.col-time {
    color: #888;
}

.status-cancelled {
    color: #ff4d4f; /* Red color for cancelled status */
}

/* Pagination */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    padding-top: 10px;
}

.page-size-selector select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 5px;
}

.pagination-controls {
    display: flex;
    gap: 5px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #eee;
    background: white;
    cursor: pointer;
    color: #666;
    border-radius: 4px;
    transition: all 0.2s;
}

.page-btn:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.page-btn.active {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
}

.page-info {
    color: #888;
}
