/* ============================================
   UP JETCELL FERRAMENTAS - PREMIUM DESIGN
   Modern Admin Panel with Advanced Styling
============================================ */

/* Reset e Base Moderno */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #0f0f0f;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 40% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    z-index: -2;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Container Responsivo */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Variáveis CSS Modernas */
:root {
    /* Cores Principais */
    --primary-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --primary-light: #ff8c66;
    
    /* Cores Secundárias */
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    
    /* Cores Neutras */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Sombras Modernas */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 50px rgba(255, 107, 53, 0.3);
    
    /* Transições */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* Utilitários para Gradientes */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-secondary {
    background: var(--secondary-gradient);
}

/* ============================================
   HEADER PREMIUM COM EFEITOS MODERNOS
============================================ */

.header {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(15, 15, 15, 0.8) 0%, 
        rgba(26, 26, 26, 0.6) 50%, 
        rgba(15, 15, 15, 0.8) 100%);
    z-index: -2;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(255, 107, 53, 0.2) 0%, 
        transparent 70%);
    z-index: -1;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 107, 53, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 140, 66, 0.4), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 107, 53, 0.2), transparent);
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    z-index: -1;
}

.header-content {
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 107, 53, 0.6); }
}

.header-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line-1,
.title-line-2,
.title-line-3 {
    display: block;
}

.header-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.header-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Main Content Premium */
.main-content {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

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

/* ============================================
   CABEÇALHOS DE SEÇÃO E BUSCA PREMIUM
============================================ */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--white) !important;
}

.section-header * {
    color: var(--white) !important;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--white) !important;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--white) !important;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search Section Premium */
.search-section {
    margin-bottom: 3rem;
}

/* Forçação de cor branca para todos os textos da seção */
.search-section h2,
.search-section p,
.search-section .section-title,
.search-section .section-subtitle {
    color: #ffffff !important;
}

/* Corrigir legibilidade do texto "Escolha sua" */
.search-section .section-title {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.search-section .section-subtitle {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.search-bar-premium {
    max-width: 600px;
    margin: 2rem auto 0;
}

.search-input-container {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 4px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.search-input-container:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.search-input-container i {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.125rem;
    z-index: 2;
}

.search-input-container input {
    width: 100%;
    padding: 1rem 1rem 1rem 4rem;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    background: transparent;
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.search-input-container input:focus {
    outline: none;
    background: var(--white);
}

.search-input-container input::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.search-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
    filter: blur(6px);
}

.search-input-container:focus-within .search-glow {
    opacity: 0.3;
}

/* Search Bar Básica */
.search-bar {
    position: relative;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2px;
    box-shadow: var(--shadow-md);
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    z-index: 1;
}

.search-bar input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: transparent;
    transition: all var(--transition-normal);
}

.search-bar input:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* ============================================
   FERRAMENTAS PREMIUM - TOOL CARDS
============================================ */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card-premium {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.tool-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.tool-card-premium:hover::before {
    opacity: 0.05;
}

.tool-header {
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.1) 0%, 
        rgba(255, 140, 66, 0.05) 100%);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    padding: 1.5rem;
}

.tool-header .tool-icon {
    position: relative;
    z-index: 2;
}

.tool-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
}

.icon-background {
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.icon-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.3), transparent);
}

.tool-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    z-index: 3;
}

.tool-content {
    padding: 2rem;
}

.tool-content .btn-tool {
    margin-top: 0.5rem;
}

.tool-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800);
    line-height: 1.3;
}

.tool-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.tool-features {
    margin-bottom: 2rem;
}
.tool-features .feature {
    margin-bottom: 0.75rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.feature i {
    color: var(--primary-color);
    font-size: 0.75rem;
    width: 12px;
}

.btn-tool {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-tool::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-tool:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-tool:hover::before {
    left: 100%;
}

.btn-tool:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

/* ============================================
   TOOL SECTIONS PREMIUM
============================================ */

.tool-section {
    display: none;
    animation: fadeOut 0.3s ease-out;
}

.tool-section.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.tool-header-premium {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-200);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 500;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn-back:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tool-title-premium {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.tool-icon-large {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.icon-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.3), transparent);
}

.tool-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.tool-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.tool-content-premium {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.tool-content-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 20px 20px 0 0;
}

/* ============================================
   RESPONSIVE DESIGN PREMIUM
============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-content {
        padding: 1.5rem;
    }
    
    .tool-header-premium {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .btn-back {
        align-self: flex-start;
    }
    
    .tool-title-premium {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 0;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
        color: var(--white);
    }
    
    .tool-content-premium {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   FINAL STYLING & ANIMATIONS
============================================ */

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

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

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

/* ============================================
   DOCUMENT STYLES (RECIBO E ORÇAMENTO)
============================================ */

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.05) 0%, 
        rgba(255, 140, 66, 0.03) 100%);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.document-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.document-title h2 i {
    color: var(--primary-color);
}

.document-title p {
    color: #ffffff;
    margin: 0;
    font-size: 1rem;
}

.document-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.08);
    backdrop-filter: blur(10px);
}

.document-actions button {
    cursor: pointer;
}

.document-actions .btn-secondary {
    padding: 0.85rem 1.5rem;
}

.document-actions .btn-primary {
    padding: 0.85rem 1.5rem;
}

.document-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.document-paper {
    width: 100%;
    max-width: 1100px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 2.5rem;
    box-shadow: 
        0 0 0 1px rgba(255, 107, 53, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    position: relative;
    font-family: 'Inter', 'Arial', sans-serif;
    color: #1a1a1a;
    overflow: hidden;
}

/* Cabeçalho do documento */
.document-letterhead {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.08) 0%, 
        rgba(255, 140, 66, 0.04) 50%,
        rgba(255, 107, 53, 0.02) 100%);
    border: 2px solid rgba(255, 107, 53, 0.15);
    border-radius: 16px;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.document-letterhead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c42 50%, #ff6b35 100%);
}

.company-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.2));
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.company-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.company-details p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-details strong {
    color: #ff6b35;
    font-weight: 700;
    min-width: 60px;
}

/* Título do documento */
.document-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8e8e8;
}

.document-type {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: 1px;
    -webkit-text-fill-color: #1a1a1a;
    background: none;
}

.document-number {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.document-number input {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 120px;
}

.document-number input::placeholder {
    color: #aaa;
}

.document-number input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Formulário do documento */
.document-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.document-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
}

.document-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
}

.document-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #2d3748;
    font-size: 1rem;
}

.document-form label::before {
    content: '●';
    color: #ff6b35;
    font-size: 0.8rem;
}

.document-form input,
.document-form textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    color: #2d3748;
    width: 100%;
    box-sizing: border-box;
}

.document-form input:hover,
.document-form textarea:hover {
    border-color: #d0d5dd;
    background: white;
}

.document-form input:focus,
.document-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: white;
    transform: translateY(-1px);
}

.document-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Tabela do orçamento */
.budget-table-section {
    margin: 2rem 0;
}

.budget-table-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.budget-table-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border-radius: 2px;
}

.budget-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
}

.budget-table th,
.budget-table td {
    padding: 0.85rem 0.75rem;
    text-align: left;
    vertical-align: middle;
}

.budget-table th {
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.budget-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.budget-table thead th:last-child {
    border-radius: 0 12px 0 0;
    text-align: center;
}

.budget-table tbody tr {
    transition: background 0.3s ease;
}

.budget-table tbody td {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.budget-table tbody tr:last-child td {
    border-bottom: none;
}

.budget-table tbody tr:hover td {
    background: #f8f9ff;
}

.budget-table tbody tr:nth-child(even) td {
    background: #fafbfc;
}

.budget-table tbody tr:nth-child(even):hover td {
    background: #f0f2ff;
}

.budget-table input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0.5rem 0.25rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: #2d3748;
}

.budget-table input:focus {
    outline: 1px solid var(--primary-color);
    background: rgba(255, 107, 53, 0.05);
    border-radius: 4px;
}

.budget-table .btn-remove-item {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.budget-table .btn-remove-item:hover {
    background: rgb(239, 68, 68);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.budget-table td:last-child {
    text-align: center;
    width: 50px;
}

.btn-add-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    border: 2px dashed #ccc;
    border-radius: 10px;
    background: transparent;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 0.5rem;
}

.btn-add-item:hover {
    border-color: var(--primary-color, #ff6b35);
    color: var(--primary-color, #ff6b35);
    background: rgba(255, 107, 53, 0.05);
}

/* Total do orçamento */
.budget-total {
    margin: 1.5rem 0;
    text-align: right;
}

.total-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    color: white;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
}

.total-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 900;
}

.budget-table-section h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.budget-table th,
.budget-table td {
    border: 1px solid #ddd;
    padding: 0.75rem 0.5rem;
    text-align: left;
}

.budget-table th {
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.budget-table td {
    background: rgba(255, 255, 255, 0.8);
}

.budget-table input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0.25rem;
    font-size: 0.9rem;
}

.budget-table input:focus {
    outline: 1px solid var(--primary-color);
    background: rgba(255, 107, 53, 0.05);
}

.budget-table .btn-remove-item {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.budget-table .btn-remove-item:hover {
    background: #c82333;
}

/* Total do orçamento */
.budget-total {
    margin: 1.5rem 0;
    text-align: right;
}

.total-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    color: white;
    border-radius: 8px;
    font-weight: bold;
}

.total-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-value {
    font-size: 1.3rem;
    font-weight: 900;
}

/* Seção de assinatura */
.signature-section {
    margin-top: 3rem;
    text-align: right;
}

.signature-line {
    display: inline-block;
    text-align: center;
    min-width: 250px;
}

.signature-space {
    height: 60px;
    border-bottom: 2px solid #333;
    margin-bottom: 0.5rem;
}

.signature-label {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: bold;
}

/* Marca d'água */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.watermark img {
    width: 300px;
    height: auto;
}

/* Garantir que o conteúdo fique acima da marca d'água */
.document-letterhead,
.document-title-section,
.document-form {
    position: relative;
    z-index: 1;
}

/* Responsividade para documentos */
@media (max-width: 768px) {
    .document-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .document-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .document-paper {
        padding: 1.5rem;
    }
    
    .document-letterhead {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .company-details {
        grid-template-columns: 1fr;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .document-type {
        font-size: 1.5rem;
    }
    
    .document-title-section {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .document-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .budget-table {
        font-size: 0.8rem;
    }
    
    .budget-table th,
    .budget-table td {
        padding: 0.5rem 0.25rem;
    }
}

/* Estilos para impressão */
@media print {
    /* Ocultar elementos desnecessários */
    .document-header,
    .tool-header-premium,
    .tool-content-premium > .form-description,
    .document-actions,
    body > *:not(.document-container) {
        display: none !important;
    }
    
    /* Configurações de página A4 */
    @page {
        size: A4;
        margin: 15mm;
    }
    
    /* Reset do body para impressão */
    body {
        background: white !important;
        margin: 0 auto !important;
        padding: 0 !important;
        font-size: 12pt !important;
        line-height: 1.4 !important;
        color: #000 !important;
        max-width: 190mm !important;
        text-align: center !important;
    }
    
    /* Container do documento */
    .document-container {
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Papel do documento */
    .document-paper {
        width: 100% !important;
        max-width: 190mm !important;
        min-height: auto !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 auto !important;
        background: white !important;
        overflow: visible !important;
        page-break-inside: avoid;
        text-align: left !important;
    }
    
    /* Cabeçalho da empresa */
    .document-letterhead {
        margin-bottom: 15mm !important;
        padding-bottom: 5mm !important;
        border-bottom: 2pt solid #ff6b35 !important;
    }
    
    .company-logo {
        flex-shrink: 0;
    }
    
    .logo-img {
        height: 60px !important;
        width: auto !important;
    }
    
    .company-name {
        font-size: 18pt !important;
        color: #ff6b35 !important;
    }
    
    .company-details {
        font-size: 9pt !important;
        color: #333 !important;
    }
    
    /* Título do documento */
    .document-title-section {
        margin-bottom: 10mm !important;
        text-align: center;
    }
    
    .document-type {
        font-size: 16pt !important;
        color: #ff6b35 !important;
    }
    
    /* Formulário */
    .document-form {
        font-size: 11pt !important;
    }
    
    .document-form label {
        font-weight: bold !important;
        color: #333 !important;
    }
    
    .document-form input,
    .document-form textarea {
        border: none !important;
        border-bottom: 1pt solid #333 !important;
        background: transparent !important;
        color: #000 !important;
        font-size: 11pt !important;
    }
    
    /* Tabela do orçamento */
    .budget-table {
        font-size: 10pt !important;
        border-collapse: collapse !important;
        width: 100% !important;
        max-width: 180mm !important;
        margin: 10mm auto !important;
        table-layout: fixed !important;
    }
    
    .budget-table th,
    .budget-table td {
        border: 1pt solid #333 !important;
        padding: 2mm 1mm !important;
        text-align: left !important;
        word-wrap: break-word !important;
        overflow: hidden !important;
    }
    
    /* Definir larguras específicas das colunas */
    .budget-table th:nth-child(1),
    .budget-table td:nth-child(1) {
        width: 15% !important;
        text-align: center !important;
    }
    
    .budget-table th:nth-child(2),
    .budget-table td:nth-child(2) {
        width: 45% !important;
    }
    
    .budget-table th:nth-child(3),
    .budget-table td:nth-child(3) {
        width: 20% !important;
        text-align: right !important;
    }
    
    .budget-table th:nth-child(4),
    .budget-table td:nth-child(4) {
        width: 20% !important;
        text-align: right !important;
    }
    
    .budget-table th {
        background: #ff6b35 !important;
        color: white !important;
        font-weight: bold !important;
        font-size: 9pt !important;
    }
    
    .budget-table td {
        background: white !important;
        color: #000 !important;
    }
    
    .budget-table input {
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        font-size: 10pt !important;
    }
    
    /* Ocultar coluna de ações na impressão */
    .budget-table th:last-child,
    .budget-table td:last-child {
        display: none !important;
    }
    
    /* Total */
    .budget-total {
        margin: 5mm 0 !important;
    }
    
    .total-row {
        background: #ff6b35 !important;
        color: white !important;
        padding: 3mm !important;
        font-weight: bold !important;
        border-radius: 0 !important;
    }
    
    /* Assinatura */
    .signature-section {
        margin-top: 15mm !important;
        page-break-inside: avoid;
    }
    
    .signature-space {
        height: 15mm !important;
        border-bottom: 1pt solid #333 !important;
    }
    
    .signature-label {
        font-size: 10pt !important;
        color: #333 !important;
    }
    
    /* Marca d'água para impressão */
    .watermark {
        opacity: 0.03 !important;
    }
    
    .watermark img {
        width: 200px !important;
    }
    
    /* Quebras de página */
    .document-letterhead,
    .document-title-section {
        page-break-inside: avoid;
    }
    
    .budget-table {
        page-break-inside: avoid;
    }
    
    .signature-section {
        page-break-inside: avoid;
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.toast-success { background: linear-gradient(135deg, #10b981, #059669); }
.toast-error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toast-info { background: linear-gradient(135deg, #3b82f6, #2563eb); }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .header-particles,
    .icon-background::before,
    .icon-glow {
        animation: none !important;
    }
}

/* ============================================
   FORMS PREMIUM STYLING
   ============================================ */

.premium-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-description {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.05) 0%, 
        rgba(255, 140, 66, 0.03) 100%);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.description-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.description-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.description-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-100);
}

.form-section h4 i {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    font-size: 1rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.input-prefix {
    padding: 1rem 0.75rem 1rem 1rem;
    background: var(--gray-50);
    color: var(--gray-600);
    font-weight: 600;
    border-right: 1px solid var(--gray-200);
}

.input-suffix {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.input-suffix img {
    width: 24px;
    height: 18px;
    border-radius: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    color: var(--gray-700);
}

.input-group input {
    border: none;
    background: transparent;
    flex: 1;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.form-group small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.form-group small i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.form-actions-premium {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
    .form-actions-premium {
        flex-direction: column-reverse;
    }
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-600);
    border: 2px solid var(--gray-200);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--gray-50);
    color: var(--gray-700);
    border-color: var(--gray-300);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    filter: brightness(1.1);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
    filter: blur(6px);
}

.btn-primary:hover .btn-glow {
    opacity: 0.7;
}

/* ============================================
   USAGE TIPS PREMIUM
============================================ */

.usage-tips {
    margin-top: 3rem;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.05) 0%, 
        rgba(118, 75, 162, 0.03) 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.usage-tips h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.usage-tips h3 i {
    color: #667eea;
    font-size: 1.25rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.tip-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.tip-item i {
    width: 40px;
    height: 40px;
    background: var(--secondary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.tip-item div {
    flex: 1;
}

.tip-item strong {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.tip-item span {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ============================================
   RESPONSE CARDS PREMIUM
============================================ */

.responses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.response-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    padding-top: 3.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: visible;
}

.response-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.response-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.2);
}

.response-card .response-actions:first-child {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 5;
}

.response-card:hover .response-actions:first-child {
    opacity: 1;
    transform: translateY(0);
}

.btn-edit,
.btn-delete {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.btn-edit {
    background: rgba(59, 130, 246, 0.9);
    color: var(--white);
}

.btn-edit:hover {
    background: rgb(59, 130, 246);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-delete {
    background: rgba(239, 68, 68, 0.9);
    color: var(--white);
}

.btn-delete:hover {
    background: rgb(239, 68, 68);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.response-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.response-header .response-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.response-title {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.response-category {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.response-content {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.7;
    white-space: pre-wrap;
    max-height: 150px;
    overflow-y: auto;
    color: var(--gray-700);
}

.response-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.response-actions button {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-copy {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-copy:hover {
    background: var(--gray-200);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-send {
    background: var(--primary-gradient);
    color: var(--white);
}

.btn-send:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

/* ============================================
   LINKS GRID PREMIUM
============================================ */

.search-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-gradient);
    color: var(--white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-bottom: 2rem;
    align-self: flex-start;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.link-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    padding-top: 3.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: visible;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.link-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.link-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.link-actions {
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.link-actions button {
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.link-card .link-icon {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.link-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.link-title {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.link-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.link-category {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-access {
    flex: 1;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    width: auto;
    height: auto;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-access:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

/* ============================================
   USAGE INSTRUCTIONS PREMIUM
============================================ */

.usage-instructions {
    margin-top: 3rem;
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.05) 0%, 
        rgba(255, 235, 59, 0.03) 100%);
    border: 1px solid rgba(255, 193, 7, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.usage-instructions h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.usage-instructions h3::before {
    content: '📋';
    font-size: 1.5rem;
}

.usage-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.usage-instructions li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
    color: var(--gray-700);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.usage-instructions li:last-child {
    border-bottom: none;
}

.usage-instructions li::before {
    content: '✓';
    color: #fbbf24;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.usage-instructions strong {
    color: var(--primary-color);
    font-weight: 600;
}

.response-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-copy,
.btn-send {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.btn-copy:hover {
    background: #e9ecef;
}

.btn-send {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.btn-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Links Grid */
.search-filters {
    margin-bottom: 2rem;
}

.filter-chips {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.filter-chip {
    background: #f8f9fa;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.filter-chip:hover,
.filter-chip.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.btn-add {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.link-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.btn-access {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-access:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.link-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.btn-edit,
.btn-delete {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-edit {
    background: #007bff;
    color: white;
}

.btn-edit:hover {
    background: #0056b3;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

/* Calculator */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.calculator-form,
.calculator-result {
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.calculator-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.calculator-result-header h3 {
    color: var(--gray-800);
    font-weight: 700;
    margin: 0;
}

.btn-settings-icon {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1.1rem;
}

.btn-settings-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.calculator-result p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.result-details {
    margin-bottom: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 1rem;
    color: var(--gray-700);
}

.result-item:last-child {
    border-bottom: none;
}

.result-total {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    border: 1px solid var(--gray-200);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal form {
    padding: 1.5rem 2rem;
}

.modal form .form-group {
    margin-bottom: 1.5rem;
}

.modal form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.btn-cancel {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #e9ecef;
}

.btn-save {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Services table */
#services-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
}

#services-table thead th {
    background: linear-gradient(135deg, var(--primary-color, #ff6b35), #ff8c42);
    color: var(--white, #fff);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem 1rem;
    text-align: left;
    white-space: nowrap;
}

#services-table thead th:last-child {
    text-align: center;
    width: 120px;
}

#services-table tbody tr {
    transition: background var(--transition-normal, 0.3s);
}

#services-table tbody td {
    padding: 1rem 1rem;
    background: var(--white, #fff);
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
}

#services-table tbody tr:last-child td {
    border-bottom: none;
}

#services-table tbody tr:hover td {
    background: #f8f9ff;
}

#services-table tbody tr:nth-child(even) td {
    background: #fafbfc;
}

#services-table tbody tr:nth-child(even):hover td {
    background: #f0f2ff;
}

#services-table td:nth-child(2) {
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#services-table td.price {
    font-weight: 700;
    color: var(--primary-color, #ff6b35);
    font-size: 1.05rem;
    white-space: nowrap;
}

#services-table td:last-child {
    text-align: center;
}

.table-actions-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.table-actions-cell .btn-edit,
.table-actions-cell .btn-delete {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.table-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .table-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .table-actions .search-bar,
    .table-actions select {
        max-width: none;
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-section.active,
.tab-content.active {
    animation: fadeIn 0.3s ease;
}

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

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

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

.text-warning {
    color: #ffc107;
}

.text-info {
    color: #17a2b8;
}

/* ============================================
   IFRAME CONTAINER PARA PELÍCULAS
============================================ */

.iframe-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin-bottom: 2rem;
}

.iframe-header {
    background: var(--primary-gradient);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.iframe-controls {
    display: flex;
    gap: 1rem;
}

.btn-iframe {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-iframe:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.iframe-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff00;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: #00ff00;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.iframe-wrapper {
    position: relative;
    min-height: 600px;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    background: var(--white);
}

.iframe-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity var(--transition-normal);
}

.iframe-wrapper iframe:not([src=""]) + .iframe-loading {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-300);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.iframe-footer {
    background: var(--gray-100);
    padding: 1rem 2rem;
    border-top: 1px solid var(--gray-200);
}

.system-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.info-item i {
    color: var(--primary-color);
}

/* Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

/* Responsive para iframe */
@media (max-width: 768px) {
    .iframe-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .iframe-controls {
        justify-content: center;
    }
    
    .system-info {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-card {
        text-align: center;
        flex-direction: column;
    }
}



/* ============================================
   RECIBO PROFISSIONAL - UP JETCELL
   Layout melhorado mantendo identidade visual
============================================ */

/* Estilos específicos para o recibo melhorado */
.document-paper.recibo-profissional {
    width: 100%;
    max-width: 1100px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 2.5rem;
    box-shadow: 
        0 0 0 1px rgba(255, 107, 53, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    position: relative;
    font-family: 'Inter', 'Arial', sans-serif;
    color: #1a1a1a;
    overflow: hidden;
}

/* Cabeçalho profissional melhorado */
.document-letterhead.recibo-profissional {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.08) 0%, 
        rgba(255, 140, 66, 0.04) 50%,
        rgba(255, 107, 53, 0.02) 100%);
    border: 2px solid rgba(255, 107, 53, 0.15);
    border-radius: 16px;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.document-letterhead.recibo-profissional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c42 50%, #ff6b35 100%);
}

.company-logo.recibo-profissional {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.logo-img.recibo-profissional {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.2));
}

.company-info.recibo-profissional {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company-name.recibo-profissional {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.company-details.recibo-profissional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.company-details.recibo-profissional p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-details.recibo-profissional strong {
    color: #ff6b35;
    font-weight: 700;
    min-width: 60px;
}

/* Título do documento melhorado */
.document-title-section.recibo-profissional {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8e8e8;
}

.document-type.recibo-profissional {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.document-number.recibo-profissional {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.document-number.recibo-profissional span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.document-number.recibo-profissional input {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 120px;
}

.document-number.recibo-profissional input::placeholder {
    color: #aaa;
}

.document-number.recibo-profissional input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Formulário melhorado */
.document-form.recibo-profissional {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section.recibo-profissional {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.form-section.recibo-profissional:hover {
    border-color: rgba(255, 107, 53, 0.25);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.form-section.recibo-profissional h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff6b35;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section.recibo-profissional h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border-radius: 2px;
}

.form-row.recibo-profissional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group.recibo-profissional {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.recibo-profissional label {
    font-weight: 700;
    color: #2d3748;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.recibo-profissional label::before {
    content: '●';
    color: #ff6b35;
    font-size: 0.8rem;
}

.form-group.recibo-profissional input,
.form-group.recibo-profissional textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    color: #2d3748;
}

.form-group.recibo-profissional input:hover,
.form-group.recibo-profissional textarea:hover {
    border-color: #d0d5dd;
    background: white;
}

.form-group.recibo-profissional input:focus,
.form-group.recibo-profissional textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: white;
    transform: translateY(-1px);
}

.form-group.recibo-profissional textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Área de valor destacada */
.valor-section.recibo-profissional {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.1) 0%, 
        rgba(255, 140, 66, 0.05) 100%);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.valor-section.recibo-profissional:hover {
    border-color: rgba(255, 107, 53, 0.35);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.12);
    transform: translateY(-1px);
}

.valor-section.recibo-profissional .valor-principal {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.1);
}

/* Seção de assinatura melhorada */
.signature-section.recibo-profissional {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.signature-line.recibo-profissional {
    text-align: center;
}

.signature-space.recibo-profissional {
    height: 80px;
    border-bottom: 2px solid #2d3748;
    margin-bottom: 1rem;
    position: relative;
}

.signature-space.recibo-profissional::after {
    content: '✓';
    position: absolute;
    right: 0;
    bottom: -15px;
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: bold;
}

.signature-label.recibo-profissional {
    font-weight: 600;
    color: #4a5568;
    font-size: 1rem;
    margin: 0;
}

/* Rodapé com informações adicionais */
.document-footer.recibo-profissional {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(45, 55, 72, 0.05);
    border-radius: 12px;
    border-top: 3px solid #ff6b35;
    text-align: center;
}

.document-footer.recibo-profissional p {
    margin: 0.5rem 0;
    color: #4a5568;
    font-size: 0.9rem;
}

.document-footer.recibo-profissional .codigo-verificacao {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #ff6b35;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Marca d'água melhorada */
.watermark.recibo-profissional {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.watermark.recibo-profissional img {
    width: 400px;
    height: auto;
}

/* Garantir que o conteúdo fique acima da marca d'água */
.document-letterhead.recibo-profissional,
.document-title-section.recibo-profissional,
.document-form.recibo-profissional,
.document-footer.recibo-profissional {
    position: relative;
    z-index: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .document-paper.recibo-profissional {
        padding: 1.5rem !important;
    }

    .document-letterhead.recibo-profissional {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .company-details.recibo-profissional {
        grid-template-columns: 1fr;
    }
    
    .document-title-section.recibo-profissional {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-row.recibo-profissional {
        grid-template-columns: 1fr;
    }
    
    .signature-section.recibo-profissional {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Estilos para impressão - A4 */
@media print {
    @page {
        size: A4;
        margin: 10mm;
    }

    .search-section,
    .tools-grid,
    .tool-section:not(#recibo-section) {
        display: none !important;
    }

    #recibo-section {
        display: block !important;
    }

    #recibo-section .btn-back,
    #recibo-section .tool-title-premium,
    #recibo-section .form-description,
    #recibo-section .document-actions {
        display: none !important;
    }

    #recibo-section .tool-content-premium {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
    }

    #recibo-section .tool-content-premium::before {
        display: none !important;
    }

    .main-content,
    .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .document-container {
        padding: 0 !important;
    }

    .document-paper.recibo-profissional {
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: white !important;
        font-size: 10pt !important;
    }
    
    .document-letterhead.recibo-profissional {
        background: rgba(255, 107, 53, 0.05) !important;
        border: 1pt solid #ff6b35 !important;
        padding: 5mm 6mm !important;
        gap: 5mm !important;
        margin-bottom: 4mm !important;
    }

    .company-logo.recibo-profissional {
        padding: 3mm !important;
    }

    .logo-img.recibo-profissional {
        height: 25mm !important;
    }

    .company-name.recibo-profissional {
        font-size: 18pt !important;
        color: #ff6b35 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .company-details.recibo-profissional {
        padding: 3mm 4mm !important;
        gap: 2mm !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .company-details.recibo-profissional p {
        font-size: 9pt !important;
    }
    
    .document-title-section.recibo-profissional {
        background: #f8f9fa !important;
        border: 1pt solid #ddd !important;
        color: #1a1a1a !important;
        padding: 3mm 5mm !important;
        margin-bottom: 4mm !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .document-type.recibo-profissional {
        font-size: 20pt !important;
    }

    .document-number.recibo-profissional input {
        font-size: 11pt !important;
        padding: 2mm 3mm !important;
        min-width: 50mm !important;
        border: 1pt solid #ccc !important;
        color: #000 !important;
    }

    .document-form.recibo-profissional {
        gap: 3mm !important;
    }

    .form-section.recibo-profissional {
        padding: 3mm 4mm !important;
        margin-bottom: 3mm !important;
        border: 1pt solid #eee !important;
    }

    .form-section.recibo-profissional h3 {
        font-size: 12pt !important;
        margin: 0 0 2mm 0 !important;
    }

    .form-section.recibo-profissional h3::before {
        height: 16px !important;
    }

    .form-row.recibo-profissional {
        gap: 3mm !important;
        margin-bottom: 2mm !important;
    }

    .form-group.recibo-profissional label {
        font-size: 9pt !important;
    }

    .form-group.recibo-profissional input,
    .form-group.recibo-profissional textarea {
        padding: 2mm 3mm !important;
        border: none !important;
        border-bottom: 1pt solid #333 !important;
        background: transparent !important;
        color: #000 !important;
        font-size: 10pt !important;
    }

    .form-group.recibo-profissional textarea {
        min-height: 30mm !important;
    }

    .valor-section.recibo-profissional {
        padding: 3mm 4mm !important;
        margin: 3mm 0 !important;
        border: 1pt solid rgba(255, 107, 53, 0.3) !important;
    }

    .valor-section.recibo-profissional .valor-principal {
        font-size: 22pt !important;
    }

    .signature-section.recibo-profissional {
        margin-top: 5mm !important;
        gap: 10mm !important;
    }

    .signature-space.recibo-profissional {
        height: 18mm !important;
    }

    .signature-label.recibo-profissional {
        font-size: 10pt !important;
    }

    .document-footer.recibo-profissional {
        margin-top: 3mm !important;
        padding: 2mm 3mm !important;
    }

    .document-footer.recibo-profissional p {
        font-size: 8pt !important;
        margin: 1mm 0 !important;
    }

    .watermark.recibo-profissional {
        opacity: 0.02 !important;
    }

    .watermark.recibo-profissional img {
        width: 140mm !important;
    }
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    font-size: 0.85rem;
    color: #999;
}

.footer-link {
    color: #ff6b35;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #e85a2a;
    text-decoration: underline;
}

.footer-sep {
    color: #444;
}

.footer-version {
    color: #666;
}

.tool-card-external {
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.tool-card-external .btn-tool-external {
    background: var(--secondary-gradient);
}

.tool-card-external:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.tool-card-external .tool-badge {
    background: rgba(102, 126, 234, 0.9);
    color: var(--white);
}

