/* Welcome Modal - First-time user introduction */

.welcome-modal {
    z-index: 2000; /* Above other modals */
}

.welcome-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-header {
    text-align: center;
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.welcome-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 600;
}

.welcome-subtitle {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.globe-icon-inline {
    vertical-align: middle;
    margin: 0 2px;
}

.welcome-footer {
    text-align: center;
    padding: 1.5rem 2rem 2rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.btn-large {
    padding: 0.85rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.welcome-tip {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .welcome-modal-content {
        max-width: 95%;
        margin: 1rem;
    }

    .welcome-header h1 {
        font-size: 1.5rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .welcome-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .btn-large {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .welcome-header {
        padding: 1.5rem 1rem 1rem;
    }

    .welcome-header h1 {
        font-size: 1.3rem;
    }

    .welcome-features {
        padding: 1rem;
    }

    .welcome-footer {
        padding: 1rem;
    }
}
