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

body {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

.navbar {
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.logo span {
    color: #3b82f6;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #3b82f6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card h3 {
    color: #0f172a;
    margin-bottom: 15px;
    font-size: 16px;
    border-left: 3px solid #3b82f6;
    padding-left: 12px;
}

.panel-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 3px solid #3b82f6;
}

.panel-title {
    font-size: 16px;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 10px;
}

.panel-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px;
    margin: 8px 0;
    font-size: 13px;
}

.info-label {
    color: #64748b;
}

.info-value {
    color: #1e293b;
    word-break: break-all;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-done {
    background: #dcfce7;
    color: #16a34a;
}

.status-paid {
    background: #fef3c7;
    color: #d97706;
}

.status-pending {
    background: #e2e8f0;
    color: #475569;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.btn-secondary {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 12px;
    color: #475569;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

.copy-btn {
    background: #e2e8f0;
    border: none;
    padding: 4px 10px;
    border-radius: 20px;
    color: #3b82f6;
    cursor: pointer;
    font-size: 11px;
    margin-left: 8px;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #3b82f6;
    color: white;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-content i {
    font-size: 50px;
    color: #3b82f6;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a1a2e;
    padding: 12px 20px;
    border-radius: 40px;
    text-align: center;
    z-index: 2000;
    border-left: 4px solid #4facfe;
    color: white;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 600px) {
    .panel-info {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .container {
        padding: 20px 16px;
    }
    .navbar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}