:root {
    --primary: #d35400; /* Pumpkin */
    --primary-hover: #ba4a00;
    --secondary: #e67e22; /* Carrot */
    --bg-color: #f0f2f5;
    --text-color: #34495e;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --danger: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --font-main: 'Poppins', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-family: var(--font-main);
    font-size: 15px;
    overflow-x: hidden; /* Remove scroll lateral */
}

/* Utility Classes */
.hidden {
    display: none !important;
}

h1, h2, h3, h4 {
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    transition: padding-left 0.3s;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Auth Styling */
.auth-box {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 420px;
    margin: 4rem auto;
    text-align: center;
}

.auth-box h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
}

/* Forms */
.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    background: #fafafa;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1);
}

input.error, select.error, textarea.error {
    border-color: var(--danger);
    background: #fff5f5;
}

.field-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

input:disabled, select:disabled, textarea:disabled, button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Buttons */
button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(211, 84, 0, 0.2);
}

button:active {
    transform: translateY(0);
}

button.secondary { background-color: #95a5a6; color: white; }
button.secondary:hover { background-color: #7f8c8d; box-shadow: 0 4px 8px rgba(127, 140, 141, 0.2); }

button.danger { background-color: var(--danger); }
button.danger:hover { background-color: #c0392b; box-shadow: 0 4px 8px rgba(231, 76, 60, 0.2); }

button.success { background-color: var(--success); }
button.success:hover { background-color: #219150; box-shadow: 0 4px 8px rgba(39, 174, 96, 0.2); }

button.btn-warning { background-color: var(--warning); color: #fff; }
button.btn-warning:hover { background-color: #d3840b; }

button.icon-btn {
    width: auto;
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.main-action {
    margin-bottom: 2rem;
}
.large-btn {
    width: auto;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Dashboard Header */
.dashboard-header {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.user-info {
    flex: 1;
    min-width: 0; /* Critical for truncation */
}

.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    vertical-align: bottom;
}

.dashboard-header h2 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.header-actions button {
    width: auto;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

/* Stats */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.2s;
}

.stat-box:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #fff5eb;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h4 {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-info p {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

/* Cards & Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.card h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Action Buttons Area */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.action-buttons button {
    width: auto;
}

/* Ticket List */
.ticket-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar for list */
.ticket-list::-webkit-scrollbar { width: 6px; }
.ticket-list::-webkit-scrollbar-track { background: #f1f1f1; }
.ticket-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.ticket-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.status-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-left: 8px;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-approved { background: #d4edda; color: #155724; }
.status-disapproved { background: #f8d7da; color: #721c24; }
.status-resolved { background: #cce5ff; color: #004085; }
.status-waiting_approval { background: #e2e3e5; color: #383d41; }

.plan-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    vertical-align: middle;
    color: #fff;
    margin-left: 5px;
}
.plan-free { background: #95a5a6; }
.plan-standard { background: #3498db; }
.plan-enterprise { background: #9b59b6; }

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-left: 5px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-info { border-left-color: var(--primary); }
.toast-error { border-left-color: var(--danger); }
.toast-success { border-left-color: var(--success); }
.toast-warning { border-left-color: var(--warning); }

/* Loading Spinner */
.spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary);
    font-size: 1rem;
    padding: 1rem;
}

.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

/* Loading overlay */
.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    z-index: 10;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Modals */
.modal {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.modal-actions button {
    flex: 1;
    min-width: 120px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .header-actions button {
        flex: 1;
        justify-content: center;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stat-box {
        justify-content: flex-start;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* ========= SIDEBAR MENU ========= */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 300px;
    background: var(--white);
    box-shadow: 4px 0 20px rgba(0,0,0,0.08);
    transform: translateX(-300px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar customizado para sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

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

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(211, 84, 0, 0.3);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(211, 84, 0, 0.5);
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-header h3 i {
    font-size: 1.6rem;
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.sidebar-menu {
    list-style: none;
    padding: 0.5rem 0;
    flex: 1;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a,
.sidebar-menu button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    font-family: var(--font-main);
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu button:hover {
    background: linear-gradient(90deg, rgba(211, 84, 0, 0.08) 0%, transparent 100%);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 1.75rem;
}

.sidebar-menu i {
    width: 24px;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.8;
}

.sidebar-menu a:hover i,
.sidebar-menu button:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.sidebar-menu hr {
    margin: 0.75rem 1rem;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* Seções do menu */
.menu-section-title {
    padding: 1.25rem 1.5rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    cursor: default;
}

.menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
    margin: 0.75rem 0;
}

/* Estilo especial para o botão Sair */
.sidebar-menu .logout-btn {
    color: var(--danger);
    font-weight: 600;
}

.sidebar-menu .logout-btn:hover {
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.1) 0%, transparent 100%);
    border-left-color: var(--danger);
}

/* Recursos Premium/Bloqueados */
.premium-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #854d0e;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
    margin-left: auto;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    font-weight: 600;
}

.premium-badge i {
    font-size: 0.65rem;
    margin-right: 0;
    width: auto;
}

.locked-feature button {
    opacity: 0.5;
    position: relative;
}

.locked-feature button:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    border-left-color: #fbbf24;
    cursor: pointer;
}

.locked-feature.hidden {
    display: list-item !important;
}

/* Rodapé da sidebar com info do usuário */
.sidebar-footer {
    padding: 1rem;
    background: linear-gradient(to top, #f8f9fa, transparent);
    border-top: 1px solid #e5e7eb;
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-user-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sidebar-user-details {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 0.75rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-toggle {
    position: fixed;
    left: 1.5rem;
    top: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(211, 84, 0, 0.4);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 25px rgba(211, 84, 0, 0.6);
}

.menu-toggle:hover span:nth-child(1) {
    width: 22px;
}

.menu-toggle:hover span:nth-child(3) {
    width: 22px;
}

.menu-toggle:active {
    transform: scale(0.95);
}

/* Ajuste do container quando sidebar está ativa */
body.sidebar-active {
    overflow: hidden;
}

/* ========= NOTIFICAÇÕES CARDS ========= */
.notification-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    transition: all 0.3s;
}

.notification-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateX(4px);
}

.notification-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-card-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
}

.notification-card-time {
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
}

.notification-card-body {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.notification-card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.notification-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Estilos para campos condicionais */
.form-group.hidden {
    display: none;
}

/* ========= MODAL DE PLANOS PREMIUM ========= */
.plans-modal-content {
    max-width: 1100px !important;
    padding: 0 !important;
    border-radius: 24px;
    overflow: hidden;
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
    transform: rotate(90deg);
}

.plans-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    position: relative;
}

.plans-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
}

.plans-header h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.plans-header h2 i {
    font-size: 2.2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.plans-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(to bottom, #f8f9fa 0%, var(--white) 50%);
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.recommended {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.recommended:hover {
    transform: scale(1.08) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recommended-badge {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(243, 156, 18, 0.6); }
}

.plan-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(211, 84, 0, 0.3);
}

.recommended .plan-icon {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pricing-card h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.plan-price {
    text-align: center;
    margin-bottom: 1rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    vertical-align: top;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.plan-price .cents {
    font-size: 2rem;
}

.plan-price .period {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.plan-price .amount-custom {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.plan-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.plan-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    width: 20px;
    text-align: center;
}

.plan-features li .fa-check {
    color: var(--success);
    font-weight: bold;
}

.plan-features li.disabled {
    color: var(--text-light);
    opacity: 0.6;
}

.plan-features li.disabled .fa-times {
    color: var(--text-light);
}

.plan-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-main);
}

.primary-plan {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(211, 84, 0, 0.3);
}

.primary-plan:hover {
    box-shadow: 0 12px 30px rgba(211, 84, 0, 0.5);
    transform: translateY(-2px);
}

.secondary-plan {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.secondary-plan:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.current-plan-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    cursor: not-allowed;
    opacity: 0.8;
}

.current-plan-btn:hover {
    transform: none;
    box-shadow: none;
}

.plans-footer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.plans-footer i {
    color: var(--success);
    margin-right: 0.25rem;
}

/* Responsive para modal de planos */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 3rem 1rem 1rem;
    }
    
    .pricing-card.recommended {
        transform: scale(1);
    }
    
    .pricing-card.recommended:hover {
        transform: translateY(-10px);
    }
    
    .plans-header h2 {
        font-size: 1.5rem;
    }
    
    .plans-modal-content {
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* === CATEGORY MANAGEMENT MODAL === */
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.category-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.category-item-info {
    flex: 1;
}

.category-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.category-item-details {
    font-size: 12px;
    color: #666;
}

.category-id-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
    font-size: 11px;
}

.category-item-meta {
    color: #666;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}
