:root {
    --primary-color: #FF0000;
    --primary-hover: #CC0000;
    --bg-color: #FFF5F5;
    --card-bg: #FFFFFF;
    --text-color: #2D3748;
    --text-muted: #718096;
    --success-color: #48BB78;
    --error-color: #F56565;
    --header-bg: #FF0000;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    padding: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.main-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.url-list {
    margin-top: 2rem;
}

.url-list h2 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #FFF5F5;
    border-bottom: 2px solid #FFE5E5;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.table td {
    vertical-align: middle;
    padding: 1rem;
    border-bottom: 1px solid #FFE5E5;
}

.url-original {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-muted);
}

.short-url {
    font-weight: 500;
    color: var(--primary-color);
}

.copy-btn {
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.copy-btn:hover {
    color: var(--primary-color);
    background-color: #FFF5F5;
}

.success-message {
    background-color: #F0FFF4;
    color: #2F855A;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.error-message {
    background-color: #FFF5F5;
    color: #C53030;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.clicks-badge {
    background-color: #FFF5F5;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
}

.site-header {
    background-color: var(--header-bg);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
}

.site-header .brand-highlight {
    color: white;
    font-weight: 800;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification {
    animation: fadeIn 0.3s ease;
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .table-responsive {
        border-radius: 12px;
    }
}
