/* =====================================================
   Dashboard Global Styles
   ===================================================== */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fafafa;
    color: #000000;
    font-size: 13px;
}

/* =====================================================
   Navigation Bar
   ===================================================== */

.navbar {
    background: white;
    border-bottom: 1px solid #E2E8F0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.nav-brand h1 {
    font-size: 18px;
    color: #000000;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.nav-brand a {
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #64748B;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.15s;
    padding: 6px 12px;
    border-radius: 6px;
}

.nav-link:hover {
    color: #0066FF;
    background: #F8FAFC;
}

.nav-link.active {
    color: #0066FF;
    background: #EFF6FF;
}

/* =====================================================
   Dashboard Layout
   ===================================================== */

.dashboard-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 56px);
}

/* =====================================================
   Sidebar
   ===================================================== */

.dashboard-sidebar {
    width: 240px;
    background: white;
    border-right: 1px solid #E2E8F0;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #64748B;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
    font-size: 13px;
    font-weight: 500;
}

.sidebar-item:hover {
    background: #F8FAFC;
    color: #0F172A;
}

.sidebar-item.active {
    background: #000000;
    color: white;
}

.sidebar-item svg {
    flex-shrink: 0;
}

/* Current Plan Card */
.current-plan-card {
    background: #000000;
    border-radius: 10px;
    padding: 16px;
    color: white;
    margin-top: auto;
}

.plan-info h4 {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}

.plan-info p {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.plan-info .upgrade-btn {
    background: white;
    color: #000000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    font-size: 13px;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-info .upgrade-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   Main Content
   ===================================================== */

.dashboard-main {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 20px;
    color: #0F172A;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.section-header .btn-primary {
    width: auto;
    padding: 8px 20px;
    font-size: 13px;
}

/* =====================================================
   Buttons
   ===================================================== */

.btn-primary {
    padding: 8px 16px;
    background: #000000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    letter-spacing: -0.1px;
}

.btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    padding: 8px 16px;
    background: #F8FAFC;
    color: #64748B;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    letter-spacing: -0.1px;
}

.btn-secondary:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-danger {
    background: #EF4444;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s;
}

.btn-danger:hover {
    background: #DC2626;
}

/* =====================================================
   Projects Grid
   ===================================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.project-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E1;
}

.project-thumbnail {
    width: 100%;
    height: 180px;
    background: #F8FAFC;
    display: block;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #E2E8F0;
}

.project-thumbnail iframe {
    width: 1280px;
    height: 720px;
    border: none;
    pointer-events: none;
    transform: scale(0.28);
    transform-origin: 0 0;
    position: absolute;
    top: 0;
    left: 0;
}

.project-info {
    padding: 16px;
}

.project-info h3 {
    font-size: 15px;
    color: #0F172A;
    margin-bottom: 6px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748B;
    font-size: 12px;
    margin-bottom: 10px;
}

.project-url {
    color: #0066FF;
    text-decoration: none;
    font-size: 12px;
    display: block;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-url:hover {
    text-decoration: underline;
}

.project-stats {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
    margin-bottom: 12px;
}

.project-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.project-stat span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: #0066FF;
}

.project-stat span:last-child {
    font-size: 11px;
    color: #94A3B8;
}

.project-actions {
    display: flex;
    gap: 6px;
}

.action-btn {
    flex: 1;
    padding: 7px;
    border: 1px solid #E2E8F0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: #64748B;
    transition: all 0.15s;
}

.action-btn:hover {
    background: #F8FAFC;
    border-color: #0066FF;
    color: #0066FF;
}

.action-btn.danger:hover {
    border-color: #EF4444;
    color: #EF4444;
}

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

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #64748B;
}

.empty-state p {
    margin-bottom: 16px;
    font-size: 13px;
}

/* =====================================================
   Analytics Section
   ===================================================== */

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066FF;
}

.stat-info h3 {
    font-size: 22px;
    color: #0F172A;
    margin-bottom: 3px;
    font-weight: 600;
}

.stat-info p {
    font-size: 12px;
    color: #64748B;
}

.filter-select {
    padding: 7px 12px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    background: white;
}

.project-analytics-list {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 24px;
    margin-top: 24px;
}

.project-analytics-list h3 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.analytics-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
}

.analytics-item:last-child {
    border-bottom: none;
}

.analytics-project-name {
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 3px;
    font-size: 14px;
}

.analytics-project-url {
    font-size: 12px;
    color: #94A3B8;
}

.analytics-numbers {
    display: flex;
    gap: 24px;
}

.analytics-number {
    text-align: center;
}

.analytics-number strong {
    display: block;
    font-size: 16px;
    color: #0066FF;
    font-weight: 600;
}

.analytics-number span {
    font-size: 11px;
    color: #94A3B8;
}

/* =====================================================
   Custom Domains Section
   ===================================================== */

.domains-list {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.domain-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.domain-item:last-child {
    border-bottom: none;
}

.domain-info h4 {
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 6px;
}

.domain-project {
    font-size: 14px;
    color: #9ca3af;
}

.domain-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-right: 15px;
}

.domain-status.active {
    background: #d1fae5;
    color: #065f46;
}

.domain-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.domain-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.upgrade-notice {
    background: #EFF6FF;
    border: 2px dashed #0066FF;
    border-radius: 10px;
    padding: 32px;
    text-align: center;
    margin-top: 20px;
}

.upgrade-notice h3 {
    font-size: 18px;
    color: #0F172A;
    margin-bottom: 8px;
    font-weight: 600;
}

.upgrade-notice p {
    color: #64748B;
    margin-bottom: 16px;
    font-size: 13px;
}

.upgrade-notice .btn-primary {
    width: auto;
    min-width: 140px;
}

/* DNS Instructions */
.dns-instructions {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.dns-instructions h4 {
    margin-bottom: 10px;
    color: #1f2937;
}

.dns-instructions p {
    color: #6b7280;
    margin-bottom: 15px;
    font-size: 14px;
}

.dns-record {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.dns-record:last-child {
    margin-bottom: 0;
}

/* =====================================================
   Billing Section
   ===================================================== */

.billing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.billing-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
}

.billing-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1f2937;
}

.usage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.usage-item:last-child {
    border-bottom: none;
}

.usage-item span:first-child {
    color: #6b7280;
}

.usage-item span:last-child {
    font-weight: 600;
    color: #1f2937;
}

/* Usage Limits Panel */
.usage-limits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.limit-item {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.limit-item.warning {
    border-color: #fbbf24;
    background: #fffbeb;
}

.limit-item.danger {
    border-color: #f87171;
    background: #fef2f2;
}

.limit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.limit-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.limit-label svg {
    flex-shrink: 0;
}

.limit-value {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: #10b981;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-fill.warning {
    background: #f59e0b;
}

.progress-fill.danger {
    background: #ef4444;
}

.limit-warning {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 13px;
    color: #dc2626;
    font-weight: 500;
}

.limit-info {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #10b981;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.feature-badge.disabled {
    background: #9ca3af;
    opacity: 0.6;
}

.payment-history {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.payment-history h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.payment-item:last-child {
    border-bottom: none;
}

.payment-date {
    color: #9ca3af;
    font-size: 14px;
}

.payment-description {
    color: #1f2937;
    font-weight: 500;
}

.payment-amount {
    font-weight: 700;
    color: #0099ff;
    font-size: 18px;
}

/* Upgrade Options */
.upgrade-options {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
}

.upgrade-options h3 {
    font-size: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.plans-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.plan-option {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: left;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.plan-option:hover {
    border-color: #0066FF;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08);
    transform: translateY(-2px);
}

.plan-option.featured {
    border-color: #0066FF;
    border-width: 2px;
    padding: 23px 19px;
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.02) 0%, rgba(0, 102, 255, 0.00) 100%);
}

.plan-option .plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #0066FF;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.plan-option h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: #000000;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.plan-price {
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 3px;
    letter-spacing: -0.8px;
    line-height: 1;
}

.plan-price span {
    font-size: 14px;
    font-weight: 400;
    color: #64748B;
    letter-spacing: 0;
}

.plan-subtitle {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 20px 0;
    font-weight: 400;
    line-height: 1.5;
}

.plan-note {
    font-size: 12px;
    color: #94A3B8;
    margin: 10px 0 0 0;
    font-weight: 400;
}

.plan-option ul {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
    padding: 0;
}

.plan-option ul li {
    padding: 10px 0;
    color: #334155;
    font-size: 13px;
    border-bottom: 1px solid #F1F5F9;
    line-height: 1.5;
    font-weight: 400;
}

.plan-option ul li:last-child {
    border-bottom: none;
}

/* =====================================================
   Messages Section
   ===================================================== */

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.2s;
    cursor: pointer;
}

.message-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.message-card.unread {
    border-left: 4px solid #0066FF;
    background: #FAFBFF;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.message-sender {
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.message-sender-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 2px 0;
}

.message-sender-info p {
    font-size: 12px;
    color: #64748B;
    margin: 0;
}

.message-meta {
    text-align: right;
}

.message-date {
    font-size: 12px;
    color: #94A3B8;
    margin-bottom: 4px;
}

.message-project {
    font-size: 11px;
    color: #0066FF;
    background: #EFF6FF;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.message-preview {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
}

.message-action-btn {
    padding: 6px 12px;
    border: 1px solid #E2E8F0;
    background: white;
    border-radius: 6px;
    font-size: 12px;
    color: #64748B;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.message-action-btn:hover {
    background: #F8FAFC;
    border-color: #0066FF;
    color: #0066FF;
}

.message-action-btn.primary {
    background: #0066FF;
    color: white;
    border-color: #0066FF;
}

.message-action-btn.primary:hover {
    background: #0052CC;
}

/* Message Detail Modal */
.message-detail {
    padding: 24px;
}

.message-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.message-detail-sender {
    display: flex;
    align-items: center;
    gap: 16px;
}

.message-detail-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 22px;
}

.message-detail-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 4px 0;
}

.message-detail-info p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

.message-detail-meta {
    text-align: right;
}

.message-detail-date {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 4px;
}

.message-detail-project {
    font-size: 12px;
    color: #0066FF;
    background: #EFF6FF;
    padding: 4px 10px;
    border-radius: 6px;
}

.message-detail-content {
    background: #F8FAFC;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.message-detail-content p {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap;
}

.message-detail-actions {
    display: flex;
    gap: 12px;
}

/* =====================================================
   Loading States
   ===================================================== */

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.loading-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #0099ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =====================================================
   Form Elements
   ===================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0099ff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
}

/* =====================================================
   Toast Notifications
   ===================================================== */

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1f2937;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 10000;
    animation: slideInBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
}

.toast.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.toast.success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
}

.toast.warning {
    background: #F59E0B;
}

.toast.error {
    background: #EF4444;
}

@keyframes slideInBounce {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    60% {
        transform: translateY(-10px);
        opacity: 1;
    }
    80% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* =====================================================
   Responsive Design
   ===================================================== */

@media (max-width: 1024px) {
    .dashboard-container {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .current-plan-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .dashboard-main {
        padding: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 14px;
    }

    .analytics-stats {
        grid-template-columns: 1fr;
    }

    .plans-comparison {
        grid-template-columns: 1fr;
    }
}
