/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de cores profissional e sofisticada */
    --primary-color: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --success-light: #d1fae5;
    --danger-color: #ef4444;
    --danger-light: #fee2e2;
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --info-color: #06b6d4;
    --info-light: #cffafe;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --border-color: #e2e8f0;
    --text-color: #334155;
    --text-muted: #94a3b8;
    
    /* Sombras modernas */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f1f5f9;
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout do ERP (compilado em CSS real para não depender de @apply/Tailwind) */
.cz-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 95;
}

.cz-topbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.cz-topbar-brand img {
    display: block;
    width: auto;
    max-height: 42px;
    object-fit: contain;
}

.cz-expediente-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cz-expediente-btn:hover {
    transform: translateY(-1px);
}

.cz-expediente-btn--start {
    color: #fff;
    background: #d97706;
    border-color: #b45309;
    box-shadow: 0 7px 16px rgba(217, 119, 6, 0.2);
}

.cz-expediente-btn--active {
    color: #166534;
    background: #dcfce7;
    border-color: #86efac;
}

.cz-expediente-btn--reopen {
    color: #334155;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.cz-mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vend-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}

.vend-sidebar {
    position: sticky;
    top: 60px;
    width: 220px;
    min-width: 220px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    padding: 16px 0;
    flex-shrink: 0;
    z-index: 90;
}

.vend-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.vend-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d85a30, #f59e0b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.vend-logo-text {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.vend-logo-sub {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.vend-nav-group {
    padding: 8px 10px 2px;
}

.vend-nav-label {
    display: block;
    padding: 0 6px;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.vend-nav-divider {
    border: 0;
    border-top: 1px solid #f1f5f9;
    margin: 8px 10px;
}

.vend-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
    transition: background-color 0.15s ease, color 0.15s ease;
    margin-bottom: 3px;
}

.vend-nav-item:hover {
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
}

.vend-nav-item.active {
    background: #fff1eb;
    color: #b45309;
    font-weight: 700;
}

.vend-nav-item i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    flex-shrink: 0;
}

.vend-nav-badge {
    margin-left: auto;
    min-width: 18px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #d85a30;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.vend-main {
    flex: 1;
    min-width: 0;
    padding: 24px 28px;
}

.vend-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.vend-page-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.vend-page-sub {
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
}

.vend-user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 13px;
}

.vend-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fff1eb;
    color: #d85a30;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.vend-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.vend-metric {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.vend-metric-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.vend-metric-val {
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
}

.vend-metric-sub {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.vend-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.vend-card-head,
.vend-card-header {
    padding: 18px 20px 12px;
}

.vend-card-body {
    padding: 0 20px 20px;
}

@media (max-width: 1100px) {
    .vend-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .cz-mobile-menu-btn {
        display: inline-flex;
    }

    .vend-sidebar {
        position: fixed;
        top: 60px;
        left: 0;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    }

    body.cz-sidebar-open .vend-sidebar {
        transform: translateX(0);
    }

    body.cz-sidebar-open .cz-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .vend-main {
        padding: 18px 16px;
    }
}

@media (max-width: 640px) {
    .cz-expediente-btn {
        min-width: 38px;
        padding: 0 10px;
    }

    .cz-expediente-btn span {
        display: none;
    }

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

    .vend-page-head {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--secondary-color);
    font-size: 14px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--secondary-color);
}

/* Layout Principal */
.main-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 16px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

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

/* Sidebar - Design Profissional */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #1e293b, #0f172a);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    left: 0;
    top: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar-header {
    padding: 24px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(79, 70, 229, 0.05));
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #818cf8, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-header p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.sidebar-close {
    display: none;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    transition: background-color 0.3s;
}

.sidebar-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Sidebar Menu - Design Profissional */
.sidebar-menu {
    list-style: none;
    padding: 16px 0;
}

.sidebar-menu li {
    margin: 4px 12px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(79, 70, 229, 0.1));
    color: white;
    padding-left: 20px;
    transform: translateX(4px);
}

.sidebar-menu a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #818cf8;
}

.sidebar-menu a:hover i,
.sidebar-menu a.active i {
    color: #a5b4fc;
}

.sidebar-divider {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 16px 20px;
}

/* Content Area */
.content-wrapper {
    flex: 1;
    margin-left: 260px;
    background: #f5f5f5;
    transition: margin-left 0.3s;
}

/* Header - Design Profissional */
.header {
    background: white;
    padding: 20px 32px;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
}

.header-title h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-title h1::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, #818cf8, #4f46e5);
    border-radius: 2px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-badge {
    background: linear-gradient(135deg, #818cf8, #4f46e5);
    color: white;
    padding: 10px 18px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

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

.user-info .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--dark-color);
}

.user-info .role {
    font-size: 13px;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    padding: 30px;
}

/* Cards - Design Profissional */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-card-hover);
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(to right, #f8fafc, #fff);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--primary-color);
    font-size: 20px;
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--light-color);
}

/* Dashboard Cards - Design Profissional */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .stat-info {
    flex: 1;
}

.stat-card .stat-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-info .number {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}

.stat-card .stat-info small {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.stat-card .stat-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    opacity: 1;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Cores específicas para cada stat-card */
.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #818cf8, #4f46e5);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

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

.form-control:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Buttons - Design Profissional */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: white;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca, #3730a3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    box-shadow: 0 2px 4px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569, #334155);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.4);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 36px;
    border-radius: var(--radius-sm);
}

.btn-xs {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 28px;
    border-radius: var(--radius-sm);
}

/* Tables - Design Profissional */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
}

table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid var(--border-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-color);
}

table tbody tr {
    transition: background-color 0.2s ease;
}

table tbody tr:hover {
    background: #f8fafc;
}

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

/* Alerts - Design Profissional */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    box-shadow: var(--shadow-sm);
}

.alert::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.alert-success::before {
    content: '\f00c';
    color: #059669;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.alert-danger::before {
    content: '\f00d';
    color: #dc2626;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.alert-warning::before {
    content: '\f071';
    color: #d97706;
}

.alert-info {
    background: linear-gradient(135deg, #cffafe, #a5f3fc);
    color: #0e7490;
}

.alert-info::before {
    content: '\f129';
    color: #0891b2;
}

/* Badges - Design Profissional */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.badge-primary {
    background: linear-gradient(135deg, #818cf8, #4f46e5);
    color: white;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.badge-success {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.badge-danger {
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.badge-warning {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.badge-info {
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: white;
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.2);
}

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

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.modal-close {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
}

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

.modal-body {
    margin-bottom: 15px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Kanban - Design Profissional */
.kanban-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-lg);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.kanban-column {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-radius: var(--radius-md);
    padding: 12px;
    min-height: 350px;
    max-height: 550px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.kanban-column:hover {
    box-shadow: var(--shadow-md);
}

.kanban-column::-webkit-scrollbar {
    width: 6px;
}

.kanban-column::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 3px;
}

.kanban-column::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}

.kanban-column::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.kanban-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    z-index: 10;
    flex-shrink: 0;
}

.kanban-column-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kanban-count {
    background: linear-gradient(135deg, #818cf8, #4f46e5);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.kanban-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
}

.kanban-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    flex-shrink: 0;
}

.kanban-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.kanban-card-verde {
    border-left-color: #10b981;
}

.kanban-card-amarelo {
    border-left-color: #f59e0b;
}

.kanban-card-vermelho {
    border-left-color: #ef4444;
}

.kanban-card-concluida {
    opacity: 0.75;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-left-color: #10b981 !important;
}

.kanban-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 8px;
}

.kanban-card-header strong {
    font-size: 14px;
    color: var(--dark-color);
    flex: 1;
}

.kanban-priority {
    font-size: 11px;
    flex-shrink: 0;
}

.kanban-card-body {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.kanban-card-body p {
    margin: 4px 0;
}

.kanban-card-footer {
    display: flex;
    gap: 8px;
}

.kanban-card-footer .btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
}

/* Animação de entrada para cards do kanban */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kanban-card {
    animation: slideIn 0.3s ease forwards;
}

/* Dashboard de Vendas */
.vend-period-tabs {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.vend-period-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.vend-period-tab:hover {
    color: var(--dark-color);
    text-decoration: none;
}

.vend-period-tab.active {
    background: #ffffff;
    color: var(--dark-color);
    border-color: #dbe2ea;
    box-shadow: var(--shadow-sm);
}

.vend-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.vend-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 0;
}

.vend-action:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 18px rgba(216, 90, 48, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
}

.vend-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(216, 90, 48, 0.12);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.vend-action-label {
    display: block;
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.vend-action-sub {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.35;
}

.vend-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vend-card-link {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.vend-card-link:hover {
    text-decoration: underline;
}

.vend-list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #eef2f7;
}

.vend-list-row:last-child {
    border-bottom: 0;
}

.vend-list-num {
    width: 58px;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
}

.vend-list-client {
    flex: 1;
    min-width: 0;
    color: var(--dark-color);
    font-size: 13px;
}

.vend-list-client-sub {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.35;
}

.vend-list-val {
    color: var(--dark-color);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.vend-empty {
    padding: 28px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

.vbadge-ok,
.vbadge-warn,
.vbadge-prod,
.vbadge-rev,
.vbadge-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.vbadge-ok {
    background: #dcfce7;
    color: #166534;
}

.vbadge-warn {
    background: #ffedd5;
    color: #9a3412;
}

.vbadge-prod {
    background: #f3e8ff;
    color: #6b21a8;
}

.vbadge-rev {
    background: #fef3c7;
    color: #92400e;
}

.vbadge-info {
    background: #dbeafe;
    color: #1d4ed8;
}

@media (max-width: 1100px) {
    .vend-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vend-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .vend-period-tabs {
        display: flex;
        width: 100%;
    }

    .vend-period-tab {
        flex: 1 1 calc(50% - 4px);
    }

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

    .vend-list-row {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .vend-list-val {
        width: 100%;
    }
}

/* Utility Classes - Design Profissional */
.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 24px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 24px;
}

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

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

.text-muted {
    color: var(--text-muted);
}

/* Efeitos de animação */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Classes de animação */
.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Delay de animação para cards */
.dashboard-cards .stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.dashboard-cards .stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.dashboard-cards .stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.dashboard-cards .stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.dashboard-cards .stat-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive Design - Design Profissional */
@media (max-width: 1280px) {
    body {
        font-size: 14px;
    }

    .sidebar {
        width: 224px;
    }

    .sidebar-header {
        padding: 18px;
    }

    .sidebar-header h2 {
        font-size: 17px;
    }

    .sidebar-header p {
        font-size: 11px;
    }

    .sidebar-menu {
        padding: 10px 0;
    }

    .sidebar-menu li {
        margin: 3px 10px;
    }

    .sidebar-menu a {
        gap: 10px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .sidebar-menu a i {
        width: 18px;
        font-size: 14px;
    }

    .content-wrapper {
        margin-left: 224px;
    }

    .header {
        padding: 14px 20px;
        gap: 14px;
    }

    .header-title h1 {
        font-size: 22px;
        gap: 10px;
    }

    .header-title h1::before {
        height: 24px;
    }

    .header-user {
        gap: 14px;
    }

    .user-badge {
        padding: 8px 14px;
        font-size: 12px;
    }

    .user-info .name {
        font-size: 14px;
    }

    .user-info .role {
        font-size: 12px;
    }

    .main-content {
        padding: 18px;
    }

    .card {
        margin-bottom: 18px;
    }

    .card-header {
        padding: 14px 18px;
        gap: 10px;
    }

    .card-header h3 {
        font-size: 16px;
        gap: 8px;
    }

    .card-header h3 i {
        font-size: 17px;
    }

    .card-body {
        padding: 18px;
    }

    .card-footer {
        padding: 12px 18px;
    }

    .dashboard-cards {
        gap: 16px;
        margin-bottom: 22px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-card .stat-info h4,
    .stat-card .stat-info small {
        font-size: 12px;
    }

    .stat-card .stat-info .number {
        font-size: 28px;
    }

    .stat-card .stat-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .form-control {
        padding: 8px 12px;
        font-size: 13px;
    }

    textarea.form-control {
        min-height: 82px;
    }

    .form-row {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 14px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 13px;
        min-height: 38px;
    }

    .btn-sm {
        padding: 7px 12px;
        font-size: 12px;
        min-height: 32px;
    }

    .btn-xs {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 28px;
    }

    table th,
    table td {
        padding: 10px 12px;
    }

    table th {
        font-size: 12px;
    }

    table td {
        font-size: 13px;
    }

    .modal-content {
        width: 94%;
        max-width: 680px;
        margin: 5% auto;
        padding: 16px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }
    
    .content-wrapper {
        margin-left: 220px;
    }
    
    .main-content {
        padding: 16px;
    }
    
    .header {
        padding: 14px 18px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .content-wrapper {
        margin-left: 0;
    }
    
    .sidebar-close {
        display: block;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }
    
    .header-title h1 {
        font-size: 20px;
    }
    
    .header-user {
        width: 100%;
        justify-content: space-between;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-card .stat-info .number {
        font-size: 28px;
    }
    
    .stat-card .stat-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
    
    .kanban-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px;
    }
    
    .kanban-column {
        min-height: 280px;
    }
    
    .main-content {
        padding: 16px;
    }
    
    .card {
        margin-bottom: 16px;
        border-radius: var(--radius-md);
    }
    
    .card-header {
        padding: 16px 20px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .card-body {
        padding: 16px 20px;
    }
    
    .table-responsive {
        border-radius: var(--radius-sm);
    }
    
    table th, table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
    }
    
    .header-title h1 {
        font-size: 18px;
    }
    
    .header-title h1::before {
        height: 22px;
    }
    
    .dashboard-cards {
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-card .stat-info h4 {
        font-size: 11px;
    }
    
    .stat-card .stat-info .number {
        font-size: 24px;
    }
    
    .stat-card .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .kanban-container {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .user-badge {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .user-info .name {
        font-size: 14px;
    }
    
    .user-info .role {
        font-size: 12px;
    }
}

/* Modo paisagem (landscape) */
@media (max-height: 500px) and (orientation: landscape) {
    .sidebar {
        height: auto;
        max-height: 100vh;
    }
    
    .main-content {
        padding: 15px 10px;
    }
    
    .card {
        margin-bottom: 10px;
    }
}

/* ============================================
   ESTILOS PARA O.S. ATRASADAS - COMPACTO
   ============================================ */

/* Stat Card para O.S. em Atraso */
.stat-card-atrasado {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
}

.stat-card-atrasado:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.25);
}

/* Card Compacto de O.S. Atrasadas */
.card-atrasadas-compacta {
    border-left: 5px solid #dc3545;
    background: #fff9f9;
    margin-bottom: 15px;
}

.card-header-compacta {
    padding: 12px 20px;
    background: linear-gradient(135deg, #ffe5e5 0%, #ffcccc 100%);
    border-bottom: 1px solid #ffb3b3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.card-header-compacta h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header-compacta h3 i {
    color: #dc3545;
}

/* Badges Miniaturizados */
.atraso-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.badge-critico {
    background-color: #dc3545;
}

.badge-urgente {
    background-color: #ff6b6b;
}

.badge-atrasado {
    background-color: #ffc107;
    color: #333;
}

/* Tabela Compacta */
.table-os-atrasadas {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table-os-atrasadas thead {
    background-color: #f8f9fa;
}

.table-os-atrasadas th {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    font-size: 12px;
    text-transform: uppercase;
}

.table-os-atrasadas td {
    padding: 10px 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.table-os-atrasadas tbody tr {
    transition: background-color 0.2s ease;
}

.table-os-atrasadas tbody tr:hover {
    opacity: 0.9;
}

.table-os-atrasadas tbody tr:not(.row-os-atrasada):hover {
    background-color: #fff5f5;
}

/* Linhas por Nível de Atraso com destaque semitransparente */
.row-os-atrasada.nivel-critico {
    border-left: 4px solid #dc3545;
    background-color: rgba(220, 53, 69, 0.6) !important;
}

.row-os-atrasada.nivel-critico td {
    color: #721c24;
}

.row-os-atrasada.nivel-critico td:first-child {
    font-weight: 700;
}

.row-os-atrasada.nivel-urgente {
    border-left: 4px solid #ff6b6b;
    background-color: rgba(255, 107, 107, 0.5) !important;
}

.row-os-atrasada.nivel-urgente td {
    color: #c82333;
}

.row-os-atrasada.nivel-urgente td:first-child {
    font-weight: 700;
}

.row-os-atrasada.nivel-atrasado {
    border-left: 4px solid #ffc107;
    background-color: rgba(255, 193, 7, 0.5) !important;
}

.row-os-atrasada.nivel-atrasado td {
    color: #856404;
}

.row-os-atrasada.nivel-atrasado td:first-child {
    font-weight: 700;
}

/* Badges de Nível */
.badge-nivel-critico,
.badge-nivel-urgente,
.badge-nivel-atrasado {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-nivel-critico {
    background-color: #ffe5e5;
    color: #dc3545;
}

.badge-nivel-urgente {
    background-color: #ffcccc;
    color: #ff6b6b;
}

.badge-nivel-atrasado {
    background-color: #fff3cd;
    color: #856404;
}

/* Link Compacto de Ação */
.btn-link-compacto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13px;
}

.btn-link-compacto:hover {
    background-color: #007bff;
    color: white;
}

/* Responsividade para Tablets */
@media (max-width: 768px) {
    .card-header-compacta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .table-os-atrasadas {
        font-size: 12px;
    }
    
    .table-os-atrasadas th,
    .table-os-atrasadas td {
        padding: 6px 8px;
    }
}

/* Responsividade para Celulares */
@media (max-width: 480px) {
    .card-header-compacta h3 {
        font-size: 14px;
    }
    
    .badge-mini {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .table-os-atrasadas {
        font-size: 11px;
    }
    
    .table-os-atrasadas th {
        font-size: 10px;
        padding: 5px 6px;
    }
    
    .table-os-atrasadas td {
        padding: 6px;
    }
    
    .btn-link-compacto {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}

/* ============================================
   ESTILOS PARA MENSAGEM DE SUCESSO
   ============================================ */

/* Card de Sucesso - Sem O.S. Atrasadas */
.card-sucesso-producao {
    border-left: 5px solid #28a745;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
    margin-bottom: 15px;
}

.card-header-sucesso {
    padding: 30px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-bottom: 2px solid #28a745;
}

.sucesso-content {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.sucesso-icon {
    font-size: 64px;
    color: #28a745;
    animation: pulse-success 2s infinite;
}

.sucesso-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #155724;
    margin: 0 0 8px 0;
}

.sucesso-text p {
    font-size: 16px;
    color: #155724;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.sucesso-text small {
    font-size: 13px;
    color: #1e7e34;
    display: block;
}

/* Animação de Pulsação */
@keyframes pulse-success {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Responsividade para Tablets */
@media (max-width: 768px) {
    .sucesso-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .sucesso-icon {
        font-size: 48px;
    }
    
    .sucesso-text h3 {
        font-size: 20px;
    }
    
    .sucesso-text p {
        font-size: 14px;
    }
    
    .card-header-sucesso {
        padding: 20px;
    }
}

/* Responsividade para Celulares */
@media (max-width: 480px) {
    .sucesso-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .sucesso-icon {
        font-size: 40px;
    }
    
    .sucesso-text h3 {
        font-size: 18px;
    }
    
    .sucesso-text p {
        font-size: 13px;
    }
    
    .sucesso-text small {
        font-size: 12px;
    }
    
    .card-header-sucesso {
        padding: 15px;
    }
}
