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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #000000;
    padding-bottom: 100px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #000000;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.back-btn {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    text-decoration: none;
    color: #000000;
}

.back-btn:hover {
    background: #f5f5f5;
    transform: scale(1.1);
}

.page-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.menu-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content */
.dashboard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dashboard Header */
.dashboard-header {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.dashboard-title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    font-size: 16px;
    color: #666666;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.filter-tab {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: max-content;
}

.filter-tab.active {
    background: #000000;
    color: #ffffff;
}

.filter-tab:hover {
    background: #f5f5f5;
}

.filter-tab.active:hover {
    background: #333333;
}

/* Escrow Cards */
.escrow-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.escrow-card {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.escrow-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.escrow-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.escrow-info {
    flex: 1;
}

.escrow-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
}

.escrow-id {
    font-size: 14px;
    color: #666666;
    margin-bottom: 10px;
}

.escrow-amount {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
}

.escrow-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-awaiting {
    background: #d4edda;
    color: #155724;
}

.status-disputed {
    background: #f8d7da;
    color: #721c24;
}

.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

.escrow-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    color: #000000;
    font-weight: 600;
}

.escrow-parties {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.party-avatar {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666666;
}

.party-info {
    flex: 1;
}

.party-name {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 2px;
}

.party-role {
    font-size: 12px;
    color: #666666;
}

.escrow-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #000000;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: #000000;
    background: #ffffff;
}

.action-btn:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.action-btn.primary {
    background: #000000;
    color: #ffffff;
}

.action-btn.primary:hover {
    background: #333333;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666666;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-desc {
    font-size: 14px;
    line-height: 1.5;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-text {
    font-size: 12px;
    color: #666666;
    margin-bottom: 5px;
}

.footer-link {
    font-size: 12px;
    color: #000000;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .dashboard-container {
        padding: 0 15px;
    }

    .escrow-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .escrow-parties {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .escrow-actions {
        flex-direction: column;
    }

    .filter-tabs {
        justify-content: flex-start;
    }
}
