/* Curti.io - Global Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #F8F9FA;
    color: #2C3E50;
    line-height: 1.6;
    overflow-x: hidden;
}

body.dark-mode {
    background: #1E1E1E;
    color: #E8E8E8;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 16px;
}

a {
    color: #FF6B9D;
    text-decoration: none;
    transition: 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Inputs */
input, textarea, select {
    font-family: inherit;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    color: inherit;
    background: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #FF6B9D;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

textarea {
    resize: vertical;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #FF6B9D;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E55B8D;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--sm {
    max-width: 600px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: #95A5A6;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }

.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }

.hidden {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideInUp 0.3s ease;
    max-width: 300px;
}

.toast--success {
    background: #27AE60;
}

.toast--error {
    background: #E74C3C;
}

.toast--warning {
    background: #F39C12;
}

.toast--info {
    background: #3498DB;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th {
    background: #F5F5F5;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #E8E8E8;
}

td {
    padding: 12px;
    border-bottom: 1px solid #E8E8E8;
}

tbody tr:hover {
    background: #F9F9F9;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge--primary {
    background: rgba(255, 107, 157, 0.15);
    color: #FF6B9D;
}

.badge--success {
    background: rgba(39, 174, 96, 0.15);
    color: #27AE60;
}

.badge--danger {
    background: rgba(231, 76, 60, 0.15);
    color: #E74C3C;
}

/* Progress Bar */
.progress {
    width: 100%;
    height: 4px;
    background: #E8E8E8;
    border-radius: 2px;
    overflow: hidden;
}

.progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #FF6B9D, #C06C84);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, #E8E8E8 25%, #F5F5F5 50%, #E8E8E8 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hide-mobile {
        display: none;
    }
}

@media (min-width: 769px) {
    .show-mobile {
        display: none;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header, .footer, .nav {
        display: none;
    }
}

