/**
 * Base Styles - Evolution Manager Style
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-bottom: 60px;
    color: var(--text);
}

/* Container Principal */
.container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 32px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

h1 {
    text-align: center;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 600;
}

h2 {
    text-align: center;
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.875rem;
}

/* Animações */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    color: var(--text);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    z-index: 9999;
    animation: fadeIn 0.3s;
    font-size: 0.875rem;
}

/* Footer - Estilo Evolution */
.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: var(--bg);
    border-top: 1px solid var(--card-border);
    font-size: 0.75rem;
    color: var(--text-muted);
    z-index: 50;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-version {
    background: var(--card-bg);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--card-border);
    font-family: 'Courier New', monospace;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-right a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.footer-right a:hover {
    opacity: 0.8;
}