/* Embaixadores Ranking - Material Design Apple Style */

/* Importar fonte Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Cores principais */
    --er-primary: #e01f26;
    --er-primary-dark: #b91c22;
    --er-primary-light: #ff4d54;
    --er-primary-surface: rgba(224, 31, 38, 0.08);
    --er-primary-border: rgba(224, 31, 38, 0.12);
    
    /* Cores neutras */
    --er-white: #ffffff;
    --er-gray-50: #fafafa;
    --er-gray-100: #f5f5f5;
    --er-gray-200: #eeeeee;
    --er-gray-300: #e0e0e0;
    --er-gray-400: #bdbdbd;
    --er-gray-500: #9e9e9e;
    --er-gray-600: #757575;
    --er-gray-700: #616161;
    --er-gray-800: #424242;
    --er-gray-900: #212121;
    
    /* Cores de status */
    --er-success: #4caf50;
    --er-warning: #ff9800;
    --er-info: #2196f3;
    --er-error: #f44336;
    
    /* Tipografia */
    --er-font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --er-font-size-xs: 0.75rem;
    --er-font-size-sm: 0.875rem;
    --er-font-size-base: 1rem;
    --er-font-size-lg: 1.125rem;
    --er-font-size-xl: 1.25rem;
    --er-font-size-2xl: 1.5rem;
    --er-font-size-3xl: 1.875rem;
    --er-font-size-4xl: 2.25rem;
    
    /* Espaçamentos */
    --er-spacing-xs: 0.25rem;
    --er-spacing-sm: 0.5rem;
    --er-spacing-md: 1rem;
    --er-spacing-lg: 1.5rem;
    --er-spacing-xl: 2rem;
    --er-spacing-2xl: 3rem;
    
    /* Bordas e sombras */
    --er-border-radius-sm: 8px;
    --er-border-radius-md: 12px;
    --er-border-radius-lg: 16px;
    --er-border-radius-xl: 24px;
    --er-border-radius-full: 9999px;
    
    --er-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --er-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --er-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --er-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --er-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transições */
    --er-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --er-transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --er-transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Elevação */
    --er-elevation-1: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --er-elevation-2: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    --er-elevation-3: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    --er-elevation-4: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    --er-elevation-5: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

/* Reset e base */
* {
    box-sizing: border-box;
}

/* Container Principal */
.embaixadores-ranking-widget {
    font-family: var(--er-font-family);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--er-spacing-2xl);
    background: var(--er-white);
    border-radius: var(--er-border-radius-xl);
    box-shadow: var(--er-elevation-3);
    position: relative;
    overflow: hidden;
    color: var(--er-gray-900);
    border: 1px solid var(--er-gray-200);
}

.embaixadores-ranking-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--er-primary), var(--er-primary-light));
}

/* Título */
.er-widget-title {
    text-align: center;
    font-size: var(--er-font-size-4xl);
    font-weight: 700;
    color: var(--er-gray-900);
    margin-bottom: var(--er-spacing-2xl);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--er-spacing-md);
    letter-spacing: -0.025em;
}

.er-widget-title::before {
    content: "";
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e01f26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 1.1.9 2 2 2s2-.9 2-2v-2.34'/%3E%3Cpath d='M12 14.66V7c0-1.1-.9-2-2-2s-2 .9-2 2v7.66'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

/* Pódio Público */
.er-public-podium {
    margin-bottom: var(--er-spacing-2xl);
    padding: var(--er-spacing-2xl);
    background: var(--er-gray-50);
    border-radius: var(--er-border-radius-xl);
    position: relative;
    border: 1px solid var(--er-gray-200);
    box-shadow: var(--er-elevation-1);
}

.er-podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: var(--er-spacing-lg);
    min-height: 300px;
    padding: var(--er-spacing-xl) 0;
}

/* Itens do Pódio - Novo Layout com Listas */
.er-podium-item {
    display: flex;
    flex-direction: column;
    transition: var(--er-transition-base);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    background: var(--er-white);
    border-radius: var(--er-border-radius-lg);
    box-shadow: var(--er-elevation-2);
    border: 1px solid var(--er-gray-200);
    min-width: 280px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    height: 400px;
}

.er-podium-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--er-gray-300);
}

.er-podium-item:nth-child(1) { animation-delay: 0.1s; }
.er-podium-item:nth-child(2) { animation-delay: 0.2s; }
.er-podium-item:nth-child(3) { animation-delay: 0.3s; }

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

/* Posições do Pódio */
.er-second-public {
    order: 1;
    transform: scale(0.9);
}

.er-second-public::before {
    background: linear-gradient(90deg, #c0c0c0, #e5e5e5);
}

.er-first-public {
    order: 2;
    transform: scale(1.1);
    box-shadow: var(--er-elevation-4);
    border-color: var(--er-primary-border);
}

.er-first-public::before {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.er-third-public {
    order: 3;
    transform: scale(0.9);
}

.er-third-public::before {
    background: linear-gradient(90deg, #cd7f32, #daa520);
}

/* Cabeçalho do Pódio */
.er-podium-header-public {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--er-spacing-sm);
    padding: var(--er-spacing-lg);
    border-bottom: 1px solid var(--er-gray-200);
    background: var(--er-gray-50);
}

.er-podium-title-public {
    font-size: var(--er-font-size-lg);
    font-weight: 600;
    color: var(--er-gray-900);
    margin: 0;
}

.er-podium-points-public {
    font-size: var(--er-font-size-sm);
    font-weight: 600;
    color: var(--er-primary);
    margin: 0;
    background: var(--er-primary-surface);
    padding: var(--er-spacing-xs) var(--er-spacing-sm);
    border-radius: var(--er-border-radius-full);
    border: 1px solid var(--er-primary-border);
}

/* Lista do Pódio */
.er-podium-list-public {
    flex: 1;
    overflow-y: auto;
    padding: var(--er-spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--er-spacing-sm);
    max-height: 280px;
}

/* Scrollbar para lista do pódio */
.er-podium-list-public::-webkit-scrollbar {
    width: 6px;
}

.er-podium-list-public::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--er-border-radius-full);
}

.er-podium-list-public::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--er-border-radius-full);
    transition: all 0.3s ease;
}

.er-podium-list-public::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Firefox scrollbar para pódio */
.er-podium-list-public {
    scrollbar-width: thin;
    scrollbar-color: #667eea rgba(255, 255, 255, 0.1);
}

.er-podium-list-public::-webkit-scrollbar-track {
    background: var(--er-gray-100);
    border-radius: var(--er-border-radius-full);
}

.er-podium-list-public::-webkit-scrollbar-thumb {
    background: var(--er-gray-400);
    border-radius: var(--er-border-radius-full);
}

/* Membros do Pódio */
.er-podium-member-public {
    display: flex;
    align-items: center;
    gap: var(--er-spacing-sm);
    padding: var(--er-spacing-sm);
    background: var(--er-white);
    border: 1px solid var(--er-gray-200);
    border-radius: var(--er-border-radius-md);
    transition: var(--er-transition-fast);
}

.er-podium-member-public:hover {
    border-color: var(--er-primary-border);
    box-shadow: var(--er-shadow-sm);
}

.er-podium-avatar-small-public {
    width: 32px;
    height: 32px;
    border-radius: var(--er-border-radius-full);
    overflow: hidden;
    border: 2px solid var(--er-gray-200);
    background: var(--er-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.er-podium-avatar-small-public img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.er-podium-member-info-public {
    flex: 1;
    min-width: 0;
}

.er-podium-member-name-public {
    font-size: var(--er-font-size-sm);
    font-weight: 500;
    color: var(--er-gray-900);
    margin: 0 0 2px 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.er-podium-member-points-public {
    font-size: var(--er-font-size-xs);
    color: var(--er-gray-600);
    margin: 0;
}

.er-podium-empty-public {
    text-align: center;
    color: var(--er-gray-500);
    font-size: var(--er-font-size-sm);
    padding: var(--er-spacing-lg);
    font-style: italic;
}

/* Informações do Pódio */
.er-podium-info-public {
    text-align: center;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.er-podium-name-public {
    font-size: var(--er-font-size-lg);
    font-weight: 600;
    color: var(--er-gray-900);
    margin: 0 0 var(--er-spacing-xs) 0;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.er-first-public .er-podium-name-public {
    font-size: var(--er-font-size-xl);
    font-weight: 700;
    -webkit-line-clamp: 3;
}

.er-podium-points-public {
    font-size: var(--er-font-size-sm);
    font-weight: 600;
    color: var(--er-primary);
    margin: 0;
    background: var(--er-primary-surface);
    padding: var(--er-spacing-xs) var(--er-spacing-sm);
    border-radius: var(--er-border-radius-full);
    display: inline-block;
    border: 1px solid var(--er-primary-border);
    box-shadow: var(--er-shadow-sm);
}

/* Base do Pódio */
.er-podium-base-public {
    width: 60px;
    height: 60px;
    border-radius: var(--er-border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--er-font-size-lg);
    font-weight: 700;
    color: var(--er-white);
    box-shadow: var(--er-elevation-2);
}

.er-first-public .er-podium-base-public {
    width: 80px;
    height: 80px;
    font-size: var(--er-font-size-xl);
    background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.er-second-public .er-podium-base-public {
    background: linear-gradient(135deg, #c0c0c0, #e5e5e5);
    color: var(--er-gray-800);
}

.er-third-public .er-podium-base-public {
    background: linear-gradient(135deg, #cd7f32, #daa520);
}

/* Lista Pública */
.er-public-list {
    background: var(--er-white);
    border-radius: var(--er-border-radius-xl);
    border: 1px solid var(--er-gray-200);
    box-shadow: var(--er-elevation-1);
    overflow: hidden;
}

.er-list-header-public {
    padding: var(--er-spacing-xl);
    border-bottom: 1px solid var(--er-gray-200);
    background: var(--er-gray-50);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--er-spacing-md);
}

.er-list-title-public {
    font-size: var(--er-font-size-xl);
    font-weight: 600;
    color: var(--er-gray-900);
    margin: 0;
}

/* Busca */
.er-search-container-public {
    display: flex;
    align-items: center;
    gap: var(--er-spacing-sm);
    background: var(--er-white);
    border: 1px solid var(--er-gray-300);
    border-radius: var(--er-border-radius-full);
    padding: var(--er-spacing-sm) var(--er-spacing-md);
    transition: var(--er-transition-fast);
    box-shadow: var(--er-shadow-sm);
}

.er-search-container-public:focus-within {
    border-color: var(--er-primary);
    box-shadow: 0 0 0 3px var(--er-primary-surface);
}

.er-search-input-public {
    border: none;
    outline: none;
    background: transparent;
    font-size: var(--er-font-size-sm);
    color: var(--er-gray-900);
    min-width: 200px;
    font-family: var(--er-font-family);
}

.er-search-input-public::placeholder {
    color: var(--er-gray-500);
}

.er-search-btn-public {
    background: var(--er-primary);
    color: var(--er-white);
    border: none;
    border-radius: var(--er-border-radius-full);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--er-transition-fast);
    font-size: var(--er-font-size-sm);
}

.er-search-btn-public:hover {
    background: var(--er-primary-dark);
    transform: scale(1.05);
}

/* Container da Lista */
.er-list-container-public {
    max-height: 400px;
    overflow-y: auto;
    padding: var(--er-spacing-md);
}

.er-list-container-public::-webkit-scrollbar {
    width: 8px;
}

.er-list-container-public::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--er-border-radius-full);
}

.er-list-container-public::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--er-border-radius-full);
    transition: all 0.3s ease;
}

.er-list-container-public::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Firefox scrollbar */
.er-list-container-public {
    scrollbar-width: thin;
    scrollbar-color: #667eea rgba(255, 255, 255, 0.1);
}

/* Itens da Lista */
.er-embaixador-item-public {
    display: flex;
    align-items: center;
    gap: var(--er-spacing-md);
    padding: var(--er-spacing-lg);
    border-radius: var(--er-border-radius-lg);
    margin-bottom: var(--er-spacing-sm);
    background: var(--er-white);
    border: 1px solid var(--er-gray-200);
    transition: var(--er-transition-fast);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.er-embaixador-item-public:hover {
    border-color: var(--er-primary-border);
    box-shadow: var(--er-elevation-2);
    transform: translateY(-2px);
}

.er-embaixador-item-public:nth-child(1) { animation-delay: 0.1s; }
.er-embaixador-item-public:nth-child(2) { animation-delay: 0.15s; }
.er-embaixador-item-public:nth-child(3) { animation-delay: 0.2s; }
.er-embaixador-item-public:nth-child(4) { animation-delay: 0.25s; }
.er-embaixador-item-public:nth-child(5) { animation-delay: 0.3s; }

/* Posição - Removida do layout */
.er-position-public {
    display: none;
}

/* Avatar da Lista */
.er-avatar-container-public {
    flex-shrink: 0;
}

.er-avatar-small-public {
    width: 48px;
    height: 48px;
    border-radius: var(--er-border-radius-full);
    object-fit: cover;
    border: 2px solid var(--er-gray-200);
}

.er-avatar-placeholder-small-public {
    width: 48px;
    height: 48px;
    border-radius: var(--er-border-radius-full);
    background: var(--er-primary);
    color: var(--er-white);
    font-size: var(--er-font-size-lg);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border: 2px solid var(--er-gray-200);
}

/* Informações do Embaixador */
.er-embaixador-info-public {
    flex: 1;
    min-width: 0;
}

.er-embaixador-name-public {
    font-size: var(--er-font-size-lg);
    font-weight: 600;
    color: var(--er-gray-900);
    margin: 0 0 var(--er-spacing-xs) 0;
    line-height: 1.2;
}

.er-embaixador-contact-public {
    font-size: var(--er-font-size-sm);
    color: var(--er-gray-600);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--er-spacing-sm);
}

.er-embaixador-contact-public::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    display: inline-block;
    margin-right: 4px;
}

/* Pontos */
.er-points-container-public {
    text-align: right;
    flex-shrink: 0;
}

.er-points-public {
    font-size: var(--er-font-size-xl);
    font-weight: 700;
    color: var(--er-primary);
    margin: 0;
    line-height: 1;
}

.er-points-label-public {
    font-size: var(--er-font-size-xs);
    color: var(--er-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--er-spacing-xs);
}

/* Estados */
.er-loading-public {
    text-align: center;
    padding: var(--er-spacing-2xl);
    color: var(--er-gray-600);
    font-size: var(--er-font-size-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--er-spacing-md);
}

.er-loading-public::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid var(--er-gray-300);
    border-top: 2px solid var(--er-primary);
    border-radius: var(--er-border-radius-full);
    animation: spin 1s linear infinite;
}

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

.er-empty-public {
    text-align: center;
    padding: var(--er-spacing-2xl);
    color: var(--er-gray-500);
    font-size: var(--er-font-size-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--er-spacing-md);
}

.er-empty-public::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e9e9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14,2 14,8 20,8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10,9 9,9 8,9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    display: inline-block;
}

.er-error-public {
    text-align: center;
    padding: var(--er-spacing-xl);
    color: var(--er-error);
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.2);
    border-radius: var(--er-border-radius-md);
    margin: var(--er-spacing-md);
    font-size: var(--er-font-size-sm);
}

/* Responsividade */
@media (max-width: 1024px) {
    .er-podium-container {
        flex-direction: column;
        align-items: center;
        gap: var(--er-spacing-xl);
        min-height: auto;
    }
    
    .er-podium-item {
        min-width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 300px;
    }
    
    .er-second-public,
    .er-first-public,
    .er-third-public {
        order: unset;
        transform: none;
    }
}

@media (max-width: 768px) {
    .embaixadores-ranking-widget {
        padding: var(--er-spacing-lg);
        margin: var(--er-spacing-md);
    }
    
    .er-widget-title {
        font-size: var(--er-font-size-3xl);
        flex-direction: column;
        gap: var(--er-spacing-sm);
    }
    
    .er-podium-item {
        min-width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 250px;
    }
    
    .er-podium-header-public {
        padding: var(--er-spacing-md);
    }
    
    .er-podium-list-public {
        padding: var(--er-spacing-sm);
    }
    
    .er-list-header-public {
        flex-direction: column;
        align-items: stretch;
        gap: var(--er-spacing-md);
    }
    
    .er-search-container-public {
        width: 100%;
    }
    
    .er-search-input-public {
        min-width: 0;
        flex: 1;
    }
    
    .er-embaixador-item-public {
        flex-direction: column;
        text-align: center;
        gap: var(--er-spacing-sm);
    }
    
    .er-points-container-public {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .er-podium-avatar-public {
        width: 60px;
        height: 60px;
    }
    
    .er-first-public .er-podium-avatar-public {
        width: 80px;
        height: 80px;
    }
    
    .er-podium-name-public {
        font-size: var(--er-font-size-base);
    }
    
    .er-first-public .er-podium-name-public {
        font-size: var(--er-font-size-lg);
    }
}

/* Estilos para Shortcodes de Importação e Lista */
.er-card {
    background: var(--er-white);
    border-radius: var(--er-border-radius-xl);
    padding: var(--er-spacing-2xl);
    margin-bottom: var(--er-spacing-xl);
    box-shadow: var(--er-elevation-1);
    border: 1px solid var(--er-gray-200);
    transition: var(--er-transition-base);
}

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

.er-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--er-spacing-xl);
    padding-bottom: var(--er-spacing-lg);
    border-bottom: 1px solid var(--er-gray-200);
}

.er-card-title {
    font-size: var(--er-font-size-xl);
    font-weight: 600;
    color: var(--er-gray-900);
    margin: 0;
}

.er-card-body {
    padding: var(--er-spacing-lg) 0;
}

.er-card-body p {
    color: var(--er-gray-600);
    line-height: 1.6;
    margin-bottom: var(--er-spacing-lg);
}

/* Estilos para formulários */
.er-form-group {
    margin-bottom: var(--er-spacing-lg);
}

.er-form-label {
    display: block;
    font-size: var(--er-font-size-sm);
    font-weight: 500;
    color: var(--er-gray-700);
    margin-bottom: var(--er-spacing-xs);
}

.er-form-input,
.er-form-select {
    width: 100%;
    padding: var(--er-spacing-sm);
    border: 1px solid var(--er-gray-300);
    border-radius: var(--er-border-radius-md);
    font-size: var(--er-font-size-sm);
    transition: var(--er-transition-base);
    background: var(--er-white);
}

.er-form-input:focus,
.er-form-select:focus {
    outline: none;
    border-color: var(--er-primary);
    box-shadow: 0 0 0 3px var(--er-primary-surface);
}

.er-form-help {
    font-size: var(--er-font-size-xs);
    color: var(--er-gray-500);
    margin-top: var(--er-spacing-xs);
    display: block;
}

.er-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--er-spacing-sm);
}

.er-checkbox {
    display: flex;
    align-items: center;
    gap: var(--er-spacing-sm);
    cursor: pointer;
}

.er-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--er-primary);
}

.er-checkbox span {
    font-size: var(--er-font-size-sm);
    color: var(--er-gray-700);
}

/* Estilos para botões */
.er-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--er-spacing-xs);
    padding: var(--er-spacing-sm) var(--er-spacing-lg);
    border: none;
    border-radius: var(--er-border-radius-md);
    font-family: var(--er-font-family);
    font-size: var(--er-font-size-sm);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--er-transition-base);
    background: var(--er-gray-100);
    color: var(--er-gray-700);
}

.er-btn:hover {
    background: var(--er-gray-200);
    transform: translateY(-1px);
}

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

.er-btn-primary:hover {
    background: var(--er-primary-dark);
}

.er-btn-sm {
    padding: var(--er-spacing-xs) var(--er-spacing-sm);
    font-size: var(--er-font-size-xs);
}

/* Estilos para mensagens */
.er-message {
    padding: var(--er-spacing-md);
    border-radius: var(--er-border-radius-md);
    margin: var(--er-spacing-md) 0;
    border: 1px solid;
}

.er-message-success {
    background: var(--er-success-surface);
    border-color: var(--er-success-border);
    color: var(--er-success-text);
}

.er-message-error {
    background: var(--er-error-surface);
    border-color: var(--er-error-border);
    color: var(--er-error-text);
}

/* Estilos para shortcodes */
.er-shortcodes-list {
    display: flex;
    flex-direction: column;
    gap: var(--er-spacing-xl);
}

.er-shortcode-item {
    padding: var(--er-spacing-lg);
    background: var(--er-gray-50);
    border-radius: var(--er-border-radius-lg);
    border: 1px solid var(--er-gray-200);
}

.er-shortcode-item h3 {
    font-size: var(--er-font-size-lg);
    font-weight: 600;
    color: var(--er-gray-900);
    margin: 0 0 var(--er-spacing-sm) 0;
}

.er-shortcode-item p {
    color: var(--er-gray-600);
    margin: 0 0 var(--er-spacing-md) 0;
    line-height: 1.5;
}

.er-code-block {
    display: flex;
    align-items: center;
    gap: var(--er-spacing-md);
    background: var(--er-gray-900);
    padding: var(--er-spacing-md);
    border-radius: var(--er-border-radius-md);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.er-code-block code {
    color: var(--er-white);
    font-size: var(--er-font-size-sm);
    flex: 1;
}

.er-code-block .er-btn {
    flex-shrink: 0;
}

/* Estilos para resultados de importação */
.er-import-result {
    margin-top: var(--er-spacing-lg);
    padding: var(--er-spacing-md);
    border-radius: var(--er-border-radius-md);
    background: var(--er-gray-50);
    border: 1px solid var(--er-gray-200);
}

.er-loading {
    text-align: center;
    padding: var(--er-spacing-lg);
    color: var(--er-gray-500);
}

/* Estatísticas (paridade com Dashboard) */
.er-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--er-spacing-lg);
    margin-bottom: var(--er-spacing-2xl);
}

.er-stat-card {
    background: var(--er-white);
    border: 1px solid var(--er-gray-200);
    border-radius: var(--er-border-radius-lg);
    padding: var(--er-spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--er-spacing-lg);
    box-shadow: var(--er-elevation-1);
}

.er-stat-icon {
    font-size: 28px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--er-border-radius-full);
    background: var(--er-gray-50);
    border: 1px solid var(--er-gray-200);
}

.er-stat-number {
    font-size: var(--er-font-size-3xl);
    font-weight: 700;
    color: var(--er-gray-900);
    line-height: 1;
}

.er-stat-label {
    font-size: var(--er-font-size-sm);
    color: var(--er-gray-600);
}

@media (max-width: 1024px) {
    .er-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .er-stats-grid {
        grid-template-columns: 1fr;
    }
}

