/* 
========================================================================================
   VoyageTeam Portal Design System (CSS)
   Премиальная теплая светлая тема для Личного Кабинета (my.voyageteam.online)
========================================================================================
*/

:root {
    --bg-primary: #fcfaf2;      /* Теплый кремовый фон */
    --bg-secondary: #ffffff;    /* Белоснежный для панелей */
    
    --accent-orange: #e85c0f;   /* Насыщенный оранжевый */
    --accent-orange-glow: rgba(232, 92, 15, 0.1);
    --accent-orange-hover: #f57c22;
    
    --accent-cyan: #175894;     /* Стальной синий */
    --accent-cyan-glow: rgba(23, 88, 148, 0.08);
    
    --text-main: #0c3156;       /* Глубокий сине-черный */
    --text-muted: #506680;      /* Сине-серый приглушенный */
    --border-color: rgba(23, 88, 148, 0.15); 
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 1. Header (Шапка Портала) */
.portal-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(12, 49, 86, 0.03);
    position: sticky;
    top: 0;
    z-index: 90;
}

.portal-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
}

.portal-logo span {
    color: var(--accent-orange);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(23, 88, 148, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.user-badge span {
    font-weight: 600;
    font-size: 0.9rem;
}

.role-tag {
    background: var(--accent-orange);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.1rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-logout {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-logout:hover {
    color: #b91c1c;
}

/* 2. Контейнеры и карточки */
.portal-main {
    flex: 1;
    padding: 3rem 0;
}

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.portal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(12, 49, 86, 0.05);
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.portal-card.active {
    display: block;
}

/* 3. Экран Авторизации */
#screen-login {
    max-width: 500px;
    margin: 3rem auto;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header h2 span {
    color: var(--accent-orange);
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Формы */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(23, 88, 148, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1.1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 12px rgba(232, 92, 15, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-portal-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d1500a 100%);
    border: none;
    color: #fff;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(232, 92, 15, 0.2);
    text-align: center;
}

.btn-portal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 92, 15, 0.35);
}

/* 4. Экран Клиента */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

.welcome-text {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 0.2rem;
}

.status-indicator {
    background: rgba(23, 88, 148, 0.08);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}

.portal-subcard {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.portal-subcard h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(23, 88, 148, 0.08);
    padding-bottom: 0.5rem;
}

/* Шкала прогресса */
.progress-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-bar-outer {
    width: 100%;
    height: 12px;
    background: rgba(12, 49, 86, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.progress-metrics {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-percent {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    font-family: var(--font-heading);
}

.progress-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.project-notes {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    min-height: 80px;
    white-space: pre-wrap;
}

.portal-subcard h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Контрольные точки */
.milestones-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.milestone-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.milestone-item.completed {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.02);
}

.milestone-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    transition: var(--transition-smooth);
}

.milestone-item.completed .milestone-checkbox {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.milestone-item.completed span {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* 5. Таблицы администратора */
.admin-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: rgba(23, 88, 148, 0.05);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.admin-table tr:hover {
    background: rgba(23, 88, 148, 0.02);
}

.admin-action-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    transition: var(--transition-smooth);
}

.admin-action-btn.edit {
    color: var(--accent-cyan);
    border-color: rgba(23, 88, 148, 0.3);
}

.admin-action-btn.edit:hover {
    background: var(--accent-cyan);
    color: #fff;
}

.admin-action-btn.delete {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.admin-action-btn.delete:hover {
    background: #ef4444;
    color: #fff;
}

/* 6. Модальные окна */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 9, 18, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.25s ease-out;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.modal-header h3 span {
    color: var(--accent-orange);
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* Слайдер рендж */
.form-range {
    width: 100%;
    height: 6px;
    background: rgba(12, 49, 86, 0.1);
    border-radius: 5px;
    outline: none;
    accent-color: var(--accent-orange);
}

/* Редактор этапов */
.milestones-editor {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 180px;
    overflow-y: auto;
}

.milestone-edit-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.milestone-edit-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #10b981;
    cursor: pointer;
}

.milestone-edit-row span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Уведомления */
.portal-toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portal-toast {
    min-width: 300px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-orange);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(12, 49, 86, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.portal-toast.success {
    border-left-color: #10b981;
}

.portal-toast.error {
    border-left-color: #ef4444;
}

.portal-toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
}

/* Анимации */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.99); 
        filter: blur(4px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
        filter: blur(0); 
    }
}

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

/* Выбор тарифного плана (Оплата) */
.payment-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.payment-card-label {
    cursor: pointer;
    display: block;
}

.payment-card-label input[type="radio"] {
    display: none; /* Скрываем стандартный радио-баттон */
}

.payment-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(12, 49, 86, 0.02);
}

.payment-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(23, 88, 148, 0.08);
}

/* Эффект при выборе радиокнопки */
.payment-card-label input[type="radio"]:checked + .payment-card {
    border-color: var(--accent-orange);
    background: rgba(232, 92, 15, 0.02);
    box-shadow: 0 8px 25px rgba(232, 92, 15, 0.08);
}

.payment-card-badge {
    background: rgba(23, 88, 148, 0.08);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    align-self: flex-start;
    text-transform: uppercase;
}

.payment-card-label input[type="radio"]:checked + .payment-card .payment-card-badge {
    background: var(--accent-orange);
    color: #fff;
}

.payment-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.payment-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Custom premium Tab Navigation inside screen-client */
.portal-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid rgba(23, 88, 148, 0.08);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.portal-tab-btn {
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.portal-tab-btn:hover {
    color: var(--accent-orange);
}

.portal-tab-btn.active {
    color: var(--accent-orange);
    font-weight: 700;
}

.portal-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(232, 92, 15, 0.4);
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

/* Glassmorphism Bank Cards block */
.payment-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.premium-bank-card {
    width: 340px;
    height: 200px;
    border-radius: 16px;
    position: relative;
    padding: 1.8rem;
    color: #fff;
    font-family: 'Space Grotesk', monospace;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.premium-bank-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Uzkard Card Design */
.premium-bank-card.uzkard {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #e85c0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(232, 92, 15, 0.25);
}

/* Visa Card Design */
.premium-bank-card.visa {
    background: linear-gradient(135deg, #11001c 0%, #3b0066 50%, #8200c9 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(130, 0, 201, 0.25);
}

/* Glowing Particle / Glassmorphic Overlays */
.premium-bank-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 80%);
    pointer-events: none;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #fcd34d, #b45309);
    border-radius: 4px;
    position: relative;
}

.card-logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 1px;
}

.card-number-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.card-number {
    font-size: 1.25rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-copy-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.card-copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--font-body);
}

.card-holder {
    display: flex;
    flex-direction: column;
}

.card-holder-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.1rem;
}

.card-holder-name {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.card-expiry {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Live Support Chat Floating Widget */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d1500a 100%);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(232, 92, 15, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}

.chat-toggle-btn:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 10px 35px rgba(232, 92, 15, 0.55);
}

.chat-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-orange);
    animation: chatPulse 2s infinite;
    pointer-events: none;
}

@keyframes chatPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    height: 480px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(12, 49, 86, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatWindowIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.chat-window.active {
    display: flex;
}

@keyframes chatWindowIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    background: var(--accent-cyan);
    color: #fff;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-admin-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-admin-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.chat-admin-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.chat-admin-info p {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.chat-close-btn:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: var(--bg-primary);
}

.chat-message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}

.chat-message.client {
    align-self: flex-end;
    background: var(--accent-orange);
    color: #fff;
    border-bottom-right-radius: 2px;
    box-shadow: 0 3px 10px rgba(232, 92, 15, 0.15);
}

.chat-message.admin {
    align-self: flex-start;
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 2px;
    box-shadow: 0 3px 10px rgba(12, 49, 86, 0.03);
}

.chat-message.system {
    align-self: center;
    background: rgba(23, 88, 148, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    border-radius: 8px;
    max-width: 90%;
    border: 1px solid rgba(23, 88, 148, 0.1);
}

#chat-input-form {
    display: flex;
    border-top: 1px solid var(--border-color);
    background: #fff;
    padding: 0.6rem 0.8rem;
    align-items: center;
    gap: 0.5rem;
}

#chat-message-text {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.6rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.chat-send-btn {
    background: var(--accent-orange);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chat-send-btn:hover {
    background: var(--accent-orange-hover);
    transform: scale(1.05);
}

/* Premium Empty Milestones Card */
.empty-milestones-card {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.empty-milestones-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 10px rgba(232, 92, 15, 0.2));
}

.empty-milestones-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
}

.empty-milestones-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }
    .modal-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .portal-card {
        padding: 1.5rem;
    }
    .live-chat-widget {
        bottom: 1rem;
        right: 1rem;
    }
    .chat-window {
        width: 300px;
        height: 400px;
    }
}
