body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6fb;
    margin: 0;
    padding: 0;
    color: #222;
}
header {
    background: #2d3e50;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: #ffd700;
}
footer {
    background: #2d3e50;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
}
.form-container {
    background: #fff;
    max-width: 400px;
    margin: 3rem auto 2rem auto;
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.10);
}
.form-container h2 {
    margin-top: 0;
    color: #2d3e50;
    text-align: center;
}
.form-container label {
    display: block;
    margin: 1rem 0 0.25rem 0;
    font-weight: 500;
}
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.form-container button {
    width: 100%;
    padding: 0.7rem;
    background: #2d3e50;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s;
}
.form-container button:hover {
    background: #ffd700;
    color: #2d3e50;
}
.error-message {
    background: #ffe0e0;
    color: #b30000;
    padding: 0.7rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}
.success-message {
    background: #e0ffe0;
    color: #006600;
    padding: 0.7rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}
.dashboard-container {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    background: #22304a;
    color: #fff;
    width: 240px;
    padding: 2rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sidebar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sidebar nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sidebar nav a {
    display: flex;
    align-items: center;
    color: #cfd8e3;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-size: 1.05rem;
    transition: background 0.2s, color 0.2s;
}
.sidebar nav a.active, .sidebar nav a:hover {
    background: #2d3e50;
    color: #ffd700;
}
.sidebar .user-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 2rem;
    font-size: 1rem;
}
.sidebar .user-avatar {
    background: #ffd700;
    color: #2d3e50;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}
.main-content {
    flex: 1;
    padding: 2.5rem 3rem;
    background: #f4f6fb;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.dashboard-header h2 {
    margin: 0;
    font-size: 2rem;
}
.dashboard-header .primary-btn {
    background: #007aff;
    color: #fff;
    padding: 0.8rem 1.7rem;
    border-radius: 7px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.dashboard-header .primary-btn:hover {
    background: #005bb5;
}
.dashboard-cards {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.dashboard-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    padding: 1.5rem 2rem;
    flex: 1;
    min-width: 180px;
}
.dashboard-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #22304a;
}
.dashboard-card .card-value {
    font-size: 2rem;
    font-weight: bold;
    color: #007aff;
}
.dashboard-card .card-value.completed {
    color: #2979ff;
}
.dashboard-card .card-value.balance {
    color: #007aff;
}
.dashboard-card .card-value.addresses {
    color: #22304a;
}
.dashboard-card .card-subtext {
    color: #888;
    font-size: 0.93rem;
}
.dashboard-card .card-subtext.completed {
    color: #00c853;
}
.dashboard-card .card-link {
    color: #007aff;
    font-size: 0.95rem;
    text-decoration: underline;
}
.dashboard-card .card-link:hover {
    color: #005bb5;
}
.dashboard-main {
    display: flex;
    gap: 2rem;
}
.recent-orders, .quick-actions {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    padding: 1.5rem 2rem;
    flex: 1;
}
.recent-orders h4, .quick-actions h4 {
    margin-top: 0;
}
.orders-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.orders-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.orders-list li:last-child {
    border-bottom: none;
}
.order-status {
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.status-delivered {
    background: #00c853;
}
.status-intransit {
    background: #2979ff;
}
.status-processing {
    background: #ffd600;
}
.order-id {
    font-weight: 600;
    color: #22304a;
}
.order-location {
    color: #888;
    font-size: 0.97rem;
}
.order-date {
    color: #bbb;
    font-size: 0.93rem;
    margin-left: auto;
}
.orders-viewall {
    text-align: right;
    margin-top: 1rem;
}
.orders-viewall a {
    color: #007aff;
    text-decoration: underline;
}
.orders-viewall a:hover {
    color: #005bb5;
}
.quick-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 1.2rem;
}
.quick-action-btn {
    background: #f4f6fb;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    padding: 1.1rem 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #22304a;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}
.quick-action-btn:hover {
    background: #ffd700;
    border-color: #ffd700;
    color: #2d3e50;
}
@media (max-width: 900px) {
    .dashboard-cards, .dashboard-main {
        flex-direction: column;
    }
}