/* ==================================================
   المرصد السياحي العربي - التصميم الرئيسي
   ================================================== */

:root {
    --ato-primary: #1a4f7a;
    --ato-primary-dark: #0d2d4a;
    --ato-primary-light: #2c6ca3;
    --ato-gold: #d4af37;
    --ato-gold-light: #f4d03f;
    --ato-bg: #f5f7fa;
    --ato-text: #2c3e50;
    --ato-text-muted: #6c757d;
    --ato-border: #e0e6ed;
    --ato-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --ato-shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --ato-radius: 12px;
    --ato-transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

body {
    background-color: var(--ato-bg);
    color: var(--ato-text);
    line-height: 1.7;
}

/* ==================================================
   Navbar
   ================================================== */
.ato-navbar {
    background: linear-gradient(135deg, var(--ato-primary) 0%, var(--ato-primary-dark) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    padding: 12px 0;
}

.logo-circle {
    width: 45px;
    height: 45px;
    background: var(--ato-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ato-primary-dark);
    font-size: 1.4em;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.brand-title {
    font-size: 1.1em;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.7em;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}

.ato-navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    border-radius: 8px;
    transition: var(--ato-transition);
    margin: 0 3px;
}

.ato-navbar .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white !important;
    transform: translateY(-1px);
}

.ato-navbar .nav-link.active {
    background: var(--ato-gold);
    color: var(--ato-primary-dark) !important;
    font-weight: 700;
}

/* ==================================================
   Hero Section
   ================================================== */
.ato-hero {
    background: linear-gradient(135deg, rgba(26, 79, 122, 0.95), rgba(13, 45, 74, 0.95)),
                url('https://images.unsplash.com/photo-1548013146-72479768bada?w=1920') center/cover;
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.ato-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .gold {
    color: var(--ato-gold);
}

.hero-subtitle {
    font-size: 1.2em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--ato-gold);
    color: var(--ato-primary-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--ato-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05em;
}

.btn-hero-primary:hover {
    background: var(--ato-gold-light);
    color: var(--ato-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--ato-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    border-color: var(--ato-gold);
}

/* ==================================================
   Stats Cards
   ================================================== */
.stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.stat-card {
    background: white;
    border-radius: var(--ato-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--ato-shadow-lg);
    transition: var(--ato-transition);
    border-bottom: 4px solid var(--ato-primary);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-bottom-color: var(--ato-gold);
}

.stat-icon {
    font-size: 2.5em;
    color: var(--ato-primary);
    margin-bottom: 15px;
}

.stat-value {
    font-size: 2.5em;
    font-weight: 900;
    color: var(--ato-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--ato-text-muted);
    font-size: 0.95em;
    font-weight: 600;
}

/* ==================================================
   Section Headers
   ================================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2em;
    font-weight: 800;
    color: var(--ato-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 4px;
    background: var(--ato-gold);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--ato-text-muted);
    font-size: 1.1em;
    max-width: 700px;
    margin: 20px auto 0;
}

/* ==================================================
   Cards
   ================================================== */
.ato-card {
    background: white;
    border-radius: var(--ato-radius);
    box-shadow: var(--ato-shadow);
    overflow: hidden;
    transition: var(--ato-transition);
    height: 100%;
    border: 1px solid var(--ato-border);
}

.ato-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ato-shadow-lg);
    border-color: var(--ato-gold);
}

.ato-card-body {
    padding: 25px;
}

.ato-card-title {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--ato-primary);
    margin-bottom: 10px;
}

.ato-card-text {
    color: var(--ato-text-muted);
    font-size: 0.95em;
}

/* ==================================================
   Indicator Cards
   ================================================== */
.indicator-card {
    background: white;
    border-radius: var(--ato-radius);
    padding: 25px;
    box-shadow: var(--ato-shadow);
    transition: var(--ato-transition);
    border-right: 4px solid var(--ato-primary);
    height: 100%;
}

.indicator-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--ato-shadow-lg);
    border-right-color: var(--ato-gold);
}

.indicator-category {
    display: inline-block;
    background: rgba(26, 79, 122, 0.1);
    color: var(--ato-primary);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75em;
    font-weight: 600;
    margin-bottom: 10px;
}

.indicator-name {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--ato-text);
    margin-bottom: 8px;
}

.indicator-def {
    color: var(--ato-text-muted);
    font-size: 0.9em;
    margin-bottom: 15px;
    min-height: 40px;
}

.indicator-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: var(--ato-text-muted);
    padding-top: 15px;
    border-top: 1px solid var(--ato-border);
}

/* ==================================================
   Country Cards
   ================================================== */
.country-card {
    background: white;
    border-radius: var(--ato-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--ato-shadow);
    transition: var(--ato-transition);
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 2px solid transparent;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ato-shadow-lg);
    border-color: var(--ato-gold);
    color: inherit;
}

.country-flag {
    font-size: 3em;
    margin-bottom: 15px;
}

.country-name {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--ato-primary);
    margin-bottom: 5px;
}

.country-region {
    color: var(--ato-text-muted);
    font-size: 0.85em;
}

/* ==================================================
   Badges & Pills
   ================================================== */
.badge-ato {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 600;
}

.badge-gcc { background: #d4edda; color: #155724; }
.badge-na { background: #fff3cd; color: #856404; }
.badge-levant { background: #d1ecf1; color: #0c5460; }
.badge-nile { background: #f8d7da; color: #721c24; }
.badge-red { background: #e2d9f3; color: #4a148c; }

/* ==================================================
   Data Table
   ================================================== */
.ato-table {
    background: white;
    border-radius: var(--ato-radius);
    overflow: hidden;
    box-shadow: var(--ato-shadow);
}

.ato-table table {
    margin: 0;
}

.ato-table thead {
    background: linear-gradient(135deg, var(--ato-primary), var(--ato-primary-dark));
    color: white;
}

.ato-table thead th {
    padding: 15px;
    font-weight: 600;
    border: none;
}

.ato-table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-color: var(--ato-border);
}

.ato-table tbody tr:hover {
    background: rgba(26, 79, 122, 0.03);
}

/* ==================================================
   Map
   ================================================== */
#map, .map-container {
    height: 600px;
    border-radius: var(--ato-radius);
    box-shadow: var(--ato-shadow-lg);
    overflow: hidden;
    z-index: 1;
}

/* ==================================================
   Footer
   ================================================== */
.ato-footer {
    background: linear-gradient(135deg, var(--ato-primary-dark), #05172a);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.footer-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9em;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--ato-transition);
    font-size: 0.9em;
}

.footer-links a:hover {
    color: var(--ato-gold);
    padding-right: 5px;
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0 20px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--ato-transition);
}

.social-links a:hover {
    background: var(--ato-gold);
    color: var(--ato-primary-dark);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--ato-gold);
    color: white;
    box-shadow: none;
}

.newsletter-form .btn-primary {
    background: var(--ato-gold);
    border: none;
    color: var(--ato-primary-dark);
}

.newsletter-form .btn-primary:hover {
    background: var(--ato-gold-light);
}

/* ==================================================
   Utility Classes
   ================================================== */
.text-gold { color: var(--ato-gold) !important; }
.bg-primary-ato { background-color: var(--ato-primary) !important; }
.bg-gold { background-color: var(--ato-gold) !important; }

.btn-primary-ato {
    background: linear-gradient(135deg, var(--ato-primary), var(--ato-primary-dark));
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--ato-transition);
}

.btn-primary-ato:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 79, 122, 0.3);
    color: white;
}

.btn-gold {
    background: var(--ato-gold);
    color: var(--ato-primary-dark);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--ato-transition);
}

.btn-gold:hover {
    background: var(--ato-gold-light);
    transform: translateY(-2px);
    color: var(--ato-primary-dark);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2em; }
    .hero-subtitle { font-size: 1em; }
    .stat-value { font-size: 2em; }
    .section-title { font-size: 1.6em; }
    #map, .map-container { height: 400px; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(26, 79, 122, 0.2);
    border-top-color: var(--ato-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* ══════════════════════════════════════════════════ */
/* Floating AI Assistant (Messenger Style) */
/* ══════════════════════════════════════════════════ */

/* الزر العائم */
.ato-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a4f7a, #0d2d4a);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(26, 79, 122, 0.4),
                0 0 0 0 rgba(26, 79, 122, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7em;
    z-index: 9998;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-ring 2s infinite;
    direction: ltr;
}

.ato-float-btn:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(26, 79, 122, 0.5);
    animation: none;
}

.ato-float-btn.active {
    transform: rotate(180deg) scale(1.05);
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #0d2d4a;
    animation: none;
}

.ato-float-btn .icon-chat,
.ato-float-btn .icon-close {
    transition: all 0.3s;
    position: absolute;
}

.ato-float-btn .icon-close {
    opacity: 0;
    transform: rotate(-180deg);
}

.ato-float-btn.active .icon-chat {
    opacity: 0;
    transform: rotate(180deg);
}

.ato-float-btn.active .icon-close {
    opacity: 1;
    transform: rotate(0);
}

/* نبض خفيف حول الزر */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 10px 30px rgba(26, 79, 122, 0.4),
                    0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 10px 30px rgba(26, 79, 122, 0.4),
                    0 0 0 15px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 10px 30px rgba(26, 79, 122, 0.4),
                    0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* شارة الإشعار */
.ato-float-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #dc3545;
    color: white;
    font-size: 0.7em;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    animation: badge-bounce 1.5s infinite;
}

.ato-float-btn.active .ato-float-badge {
    display: none;
}

@keyframes badge-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ══════════════════════════════════════════════════ */
/* Chat Window */
/* ══════════════════════════════════════════════════ */

.ato-chat-window {
    position: fixed;
    bottom: 110px;
    left: 30px;
    width: 400px;
    height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    direction: rtl;
}

.ato-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.ato-chat-header {
    background: linear-gradient(135deg, #1a4f7a, #0d2d4a);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.ato-chat-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.ato-chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.ato-chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d4af37;
    color: #0d2d4a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    position: relative;
}

.ato-chat-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    border: 2px solid #1a4f7a;
}

.ato-chat-title {
    font-size: 1.05em;
    font-weight: 800;
    margin: 0;
}

.ato-chat-status {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.85);
    margin: 2px 0 0 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ato-chat-status-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: status-blink 2s infinite;
}

@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ato-chat-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

.ato-chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Messages */
.ato-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ato-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.ato-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.ato-chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.ato-chat-messages::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Message Bubbles */
.ato-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: message-in 0.3s ease-out;
}

.ato-message.bot {
    align-self: flex-start;
}

.ato-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ato-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1em;
}

.ato-message.bot .ato-message-avatar {
    background: linear-gradient(135deg, #1a4f7a, #0d2d4a);
    color: white;
}

.ato-message.user .ato-message-avatar {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #0d2d4a;
}

.ato-message-bubble {
    background: white;
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.6;
    font-size: 0.9em;
    color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    word-wrap: break-word;
}

.ato-message.bot .ato-message-bubble {
    border-top-right-radius: 4px;
}

.ato-message.user .ato-message-bubble {
    background: linear-gradient(135deg, #1a4f7a, #0d2d4a);
    color: white;
    border-top-left-radius: 4px;
}

.ato-message-bubble strong {
    color: #1a4f7a;
    font-weight: 800;
}

.ato-message.user .ato-message-bubble strong {
    color: #d4af37;
}

@keyframes message-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing Indicator */
.ato-typing {
    display: inline-flex;
    gap: 4px;
    padding: 4px 0;
}

.ato-typing span {
    width: 8px;
    height: 8px;
    background: #1a4f7a;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.ato-typing span:nth-child(2) { animation-delay: 0.2s; }
.ato-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Quick Suggestions */
.ato-chat-suggestions {
    padding: 12px 20px;
    background: white;
    border-top: 1px solid #f0f4f8;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex-shrink: 0;
}

.ato-chat-suggestions::-webkit-scrollbar {
    display: none;
}

.ato-chat-suggestion {
    background: #f5f7fa;
    color: #1a4f7a;
    border: 1px solid #e0e6ed;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8em;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
}

.ato-chat-suggestion:hover {
    background: #1a4f7a;
    color: white;
    border-color: #1a4f7a;
    transform: translateY(-2px);
}

/* Input Area */
.ato-chat-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #f0f4f8;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.ato-chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e6ed;
    border-radius: 25px;
    font-family: inherit;
    font-size: 0.9em;
    outline: none;
    transition: all 0.2s;
    direction: rtl;
    color: #2c3e50;
}

.ato-chat-input:focus {
    border-color: #1a4f7a;
    box-shadow: 0 0 0 3px rgba(26, 79, 122, 0.1);
}

.ato-chat-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a4f7a, #0d2d4a);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ato-chat-send:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(26, 79, 122, 0.35);
}

.ato-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Popup في المنتصف قبل الفتح */
.ato-float-tooltip {
    position: fixed;
    bottom: 45px;
    left: 110px;
    background: white;
    color: #2c3e50;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s;
    white-space: nowrap;
}

.ato-float-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
}

.ato-float-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.ato-float-btn.active ~ .ato-float-tooltip {
    display: none;
}

/* Responsive */
@media (max-width: 576px) {
    .ato-chat-window {
        width: calc(100vw - 20px);
        height: calc(100vh - 140px);
        left: 10px;
        bottom: 100px;
    }
    
    .ato-float-btn {
        bottom: 20px;
        left: 20px;
        width: 58px;
        height: 58px;
        font-size: 1.5em;
    }
    
    .ato-float-tooltip {
        display: none;
    }
}