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

body {
    font-family: 'Inter', sans-serif;
    background: #080c18;
    color: #e5e7eb;
    min-height: 100vh;
    overflow-x: hidden;
}

.glass-card {
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 41, 55, 0.50);
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transition: all 0.25s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.30);
}

.promo-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(217, 119, 6, 0.03));
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 16px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
}
.promo-banner .zero {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #111827;
    border: 1px solid rgba(31, 41, 55, 0.60);
    border-radius: 24px;
    padding: 28px 24px;
    max-width: 500px;
    width: 94%;
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.role-option {
    cursor: pointer;
    padding: 16px 18px;
    border-radius: 16px;
    border: 2px solid rgba(31, 41, 55, 0.30);
    transition: all 0.25s ease;
    background: rgba(8, 12, 24, 0.30);
    display: block;
    text-decoration: none;
}
.role-option:hover {
    border-color: rgba(245, 158, 11, 0.40);
    background: rgba(245, 158, 11, 0.05);
    transform: translateY(-2px);
}

.role-icon-svg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}
.role-icon-svg svg {
    width: 100%;
    height: 100%;
}


.bg-amber-500 {
    background: #f59e0b !important;
}
.bg-blue-500 {
    background: #3b82f6 !important;
}
.bg-\[\#1f2937\] {
    background: #1f2937 !important;
}
.bg-\[\#0a0f1a\] {
    background: #0a0f1a !important;
}
.bg-\[\#111827\] {
    background: #111827 !important;
}
.bg-\[\#1f2937\]\/40 {
    background: rgba(31, 41, 55, 0.40) !important;
}

.chat-message {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    word-break: break-word;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-message-own {
    margin-left: auto;
}

.chat-message-other {
    margin-right: auto;
}

.chat-message-client {
    background: #f59e0b;
    color: #000;
}

.chat-message-freelancer {
    background: #3b82f6;
    color: #fff;
}

.chat-message-system {
    background: rgba(31, 41, 55, 0.40);
    color: #9ca3af;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(31, 41, 55, 0.30);
    text-align: center;
    max-width: 85%;
}

.chat-message-other-user {
    background: #1f2937;
    color: #e5e7eb;
}

.chat-sender-name {
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    margin-bottom: 2px;
    padding-left: 4px;
}


@media (max-width: 640px) {
    .modal-content {
        padding: 20px 16px;
        border-radius: 20px;
    }
    .role-option {
        padding: 14px;
        flex-direction: column;
        text-align: center;
    }
    .role-icon-svg {
        width: 38px;
        height: 38px;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .promo-banner {
        font-size: 11px;
        padding: 8px 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .promo-banner .zero {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .modal-content {
        padding: 16px 12px;
    }
    .role-option {
        padding: 10px;
    }
    .role-icon-svg {
        width: 32px;
        height: 32px;
    }
}
