/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --warning: #f59e0b;
    --info: #06b6d4;
    --dark: #1f2937;
    --dark-light: #374151;
    --light: #f9fafb;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-lighter: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-lighter);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: var(--radius);
}

.nav-links a:hover {
    color: var(--primary);
    background-color: rgba(79, 70, 229, 0.05);
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-buttons span {
    color: var(--gray);
    font-weight: 500;
}

/* Botões */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    text-align: center;
    min-width: 120px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--white);
    border: 2px solid var(--danger);
}

.btn-danger:hover {
    background-color: var(--danger-dark);
    border-color: var(--danger-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    min-width: 80px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    min-width: 140px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--gray-lighter);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 32px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-lighter);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-lighter), var(--gray-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image i {
    font-size: 48px;
    opacity: 0.7;
}

.product-info {
    padding: 25px;
}

.product-category {
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
}

.product-description {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-lighter);
}

.product-meta small {
    color: var(--gray);
    font-size: 12px;
}

/* Dashboard */
.dashboard {
    display: flex;
    min-height: calc(100vh - 70px);
    flex: 1;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    padding: 30px 0;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 0 25px 25px;
    border-bottom: 1px solid var(--dark-light);
    margin-bottom: 20px;
}

.sidebar-header h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover, 
.sidebar-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-left-color: var(--primary);
}

.sidebar-menu a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.dashboard-content {
    flex: 1;
    padding: 40px;
    background-color: #f8fafc;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-header h2 {
    font-size: 2rem;
    color: var(--dark);
    font-weight: 700;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-card.secondary {
    border-left-color: var(--secondary);
}

.stat-card.warning {
    border-left-color: var(--warning);
}

.stat-card.info {
    border-left-color: var(--info);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.trend-up {
    color: var(--secondary);
}

.trend-down {
    color: var(--danger);
}

/* Tables */
.table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 20px 25px;
    background-color: #f8fafc;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-lighter);
    align-items: center;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 18px 25px;
    border-bottom: 1px solid var(--gray-lighter);
    align-items: center;
    transition: var(--transition);
}

.table-row:hover {
    background-color: #f8fafc;
}

.table-row:last-child {
    border-bottom: none;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-paid {
    background-color: #d1fae5;
    color: var(--secondary-dark);
}

.status-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.status-cancelled {
    background-color: #fee2e2;
    color: var(--danger-dark);
}

/* Formulários */
.form-container {
    max-width: 600px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Alertas */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    border-left: 4px solid transparent;
    font-weight: 500;
}

.alert-error {
    background-color: #fef2f2;
    border-color: var(--danger);
    color: var(--danger-dark);
}

.alert-success {
    background-color: #f0fdf4;
    border-color: var(--secondary);
    color: var(--secondary-dark);
}

.alert-warning {
    background-color: #fffbeb;
    border-color: var(--warning);
    color: #b45309;
}

.alert-info {
    background-color: #f0f9ff;
    border-color: var(--info);
    color: #0e7490;
}

/* Checkout */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.checkout-product {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.checkout-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.product-summary {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--radius);
}

.product-summary .product-image {
    width: 120px;
    height: 120px;
    background: var(--gray-lighter);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-summary .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.product-details {
    flex: 1;
}

.product-details h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.product-details p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.payment-method {
    text-align: center;
    padding: 20px 15px;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.payment-method:hover {
    border-color: var(--primary-light);
}

.payment-method.selected {
    border-color: var(--primary);
    background-color: rgba(79, 70, 229, 0.05);
}

.payment-method i {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary);
}

.payment-method span {
    display: block;
    font-weight: 600;
    color: var(--dark);
}

/* Order Summary */
.order-summary {
    background: #f8fafc;
    padding: 25px;
    border-radius: var(--radius);
    margin: 25px 0;
}

.order-summary h4 {
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 600;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-lighter);
}

.summary-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    border-top: 2px solid var(--gray-lighter);
    padding-top: 15px;
    margin-top: 15px;
}

/* Success Page */
.success-container {
    text-align: center;
    max-width: 600px;
    margin: 60px auto;
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 80px;
    color: var(--secondary);
    margin-bottom: 30px;
}

.success-container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.success-container p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.order-details {
    text-align: left;
    background: #f8fafc;
    padding: 25px;
    border-radius: var(--radius);
    margin: 30px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-lighter);
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.download-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--secondary);
}

.download-section h3 {
    margin-bottom: 15px;
    color: var(--secondary-dark);
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Affiliate Links */
.affiliate-link {
    background: #f8fafc;
    padding: 25px;
    border-radius: var(--radius);
    margin: 25px 0;
    border: 2px dashed var(--gray-lighter);
}

.affiliate-link input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 14px;
    margin-top: 10px;
    background: var(--white);
}

.sharing-options {
    margin: 30px 0;
}

.sharing-options h4 {
    margin-bottom: 15px;
    color: var(--dark);
}

.sharing-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Search e Filtros */
.search-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-form input {
    padding: 12px 16px;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius);
    min-width: 300px;
    font-size: 14px;
    transition: var(--transition);
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.filter-group select {
    padding: 8px 12px;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 14px;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--dark) 0%, #111827 100%);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.footer-column p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--dark-light);
    color: var(--gray-light);
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .checkout-form {
        position: static;
    }
    
    .dashboard {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
    }
    
    .dashboard-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .auth-buttons .btn {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .search-form {
        flex-direction: column;
        width: 100%;
    }
    
    .search-form input {
        min-width: auto;
        width: 100%;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dashboard-header .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .form-container {
        padding: 25px 20px;
        margin: 20px auto;
    }
    
    .dashboard-content {
        padding: 25px 20px;
    }
    
    .product-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .product-summary .product-image {
        align-self: center;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gray-lighter);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utilitários */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-column {
    flex-direction: column;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-lighter);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
}

/* Seleção de texto */
::selection {
    background-color: rgba(79, 70, 229, 0.2);
    color: var(--dark);
}