/* Voy2Professor - Estilos Modernos e Elegantes */

/* Variáveis CSS para tema consistente */
:root {
    --voy2-primary: #667eea;
    --voy2-secondary: #764ba2;
    --voy2-accent: #f093fb;
    --voy2-success: #48bb78;
    --voy2-warning: #f6ad55;
    --voy2-danger: #fc8181;
    --voy2-dark: #2d3748;
    --voy2-light: #f7fafc;
    --voy2-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --voy2-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --voy2-radius: 20px;
    --voy2-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container Principal */
.voy2professor_shortcode_container {
    max-width: 800px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: var(--voy2-radius);
    box-shadow: var(--voy2-shadow);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
}

/* Header Elegante */
.voy2professor_shortcode_header {
    background: linear-gradient(135deg, var(--voy2-primary) 0%, var(--voy2-secondary) 100%);
    color: white;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.voy2professor_shortcode_header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg) translateX(0); }
    50% { transform: rotate(180deg) translateX(10px); }
}

.voy2professor_shortcode_title_area {
    position: relative;
    z-index: 1;
}

.voy2professor_shortcode_title {
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.voy2professor_shortcode_ai_badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: none !important;
}

.voy2professor_shortcode_user_panel {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.voy2professor_shortcode_user_info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.voy2professor_shortcode_avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.voy2professor_shortcode_user_details {
    flex: 1;
}

.voy2professor_shortcode_user_name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.voy2professor_shortcode_user_sessions {
    font-size: 13px;
    opacity: 0.9;
}

/* Estados e Conteúdo */
.voy2professor_shortcode_content {
    padding: 40px;
}

.voy2professor_shortcode_state {
    animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Estado Inicial - Welcome */
.voy2professor_shortcode_welcome {
    text-align: center;
    margin-bottom: 35px;
}

.voy2professor_shortcode_welcome_icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.voy2professor_shortcode_welcome_text h4 {
    color: var(--voy2-dark);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.voy2professor_shortcode_welcome_text p {
    color: #718096;
    line-height: 1.6;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Seletor de Idioma */
.voy2professor_shortcode_language_selector {
    margin-bottom: 30px;
    text-align: center;
    height: 100% !important;
}

.voy2professor_language_select {
    height: 100%;
}

.voy2professor_shortcode_language_selector h5 {
    color: var(--voy2-dark);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.voy2professor_language_select {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--voy2-dark);
    cursor: pointer;
    transition: var(--voy2-transition);
    min-width: 200px;
}

.voy2professor_language_select:hover {
    border-color: var(--voy2-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.voy2professor_language_select:focus {
    outline: none;
    border-color: var(--voy2-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.voy2professor_selected_language_icon {
    font-size: 20px;
}

/* Tópicos Grid Moderno */
.voy2professor_shortcode_topics {
    margin-bottom: 35px;
}

.voy2professor_shortcode_topics h5 {
    color: var(--voy2-dark);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.voy2professor_shortcode_topics_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.voy2professor_shortcode_topic {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    transition: var(--voy2-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.voy2professor_shortcode_topic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--voy2-primary) 0%, var(--voy2-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.voy2professor_shortcode_topic:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--voy2-primary);
}

.voy2professor_shortcode_topic:hover::before {
    opacity: 0.05;
}

.voy2professor_shortcode_topic_icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.voy2professor_shortcode_topic.active {
    background: linear-gradient(135deg, var(--voy2-primary) 0%, var(--voy2-secondary) 100%);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.voy2professor_shortcode_topic.active .voy2professor_shortcode_topic_text {
    color: white;
}

.voy2professor_shortcode_topic.active .voy2professor_shortcode_topic_icon {
    transform: scale(1.2) rotate(10deg);
}

/* Animação de clique do botão */
.voy2professor_shortcode_start_btn:active {
    transform: translateY(0) scale(0.98);
}

/* Debug - Garantir que botões sejam clicáveis */
.voy2professor_shortcode_start_btn,
.voy2professor_shortcode_control_btn,
.voy2professor_shortcode_new_session_btn {
    position: relative;
    z-index: 10;
    user-select: none;
}

/* Garantir que ícones e texto dentro dos botões não bloqueiem cliques */
.voy2professor_shortcode_btn_icon,
.voy2professor_shortcode_btn_text,
.voy2professor_shortcode_control_icon,
.voy2professor_shortcode_control_text {
    pointer-events: none;
}

.voy2professor_shortcode_topic_text {
    font-size: 14px;
    font-weight: 600;
    color: var(--voy2-dark);
}

/* Botão Principal Elegante */
.voy2professor_shortcode_start_btn {
    background: linear-gradient(135deg, var(--voy2-primary) 0%, var(--voy2-secondary) 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--voy2-transition);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.voy2professor_shortcode_start_btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.voy2professor_shortcode_start_btn:hover::before {
    width: 300px;
    height: 300px;
}

.voy2professor_shortcode_start_btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--voy2-shadow-hover);
}

.voy2professor_shortcode_btn_icon {
    font-size: 24px;
    position: relative;
    z-index: 1;
    display: none !important;
}

.voy2professor_shortcode_btn_text {
    position: relative;
    z-index: 1;
}

/* Requirements */
.voy2professor_shortcode_requirements {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.voy2professor_shortcode_requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #718096;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.voy2professor_shortcode_req_icon {
    font-size: 18px;
}

/* Estado de Verificação */
.voy2professor_shortcode_checking_content {
    text-align: center;
    margin-bottom: 30px;
}

.voy2professor_shortcode_checking_icon {
    margin-bottom: 20px;
}

.voy2professor_shortcode_spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--voy2-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.voy2professor_shortcode_checking_text h4 {
    color: var(--voy2-dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.voy2professor_shortcode_checking_steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.voy2professor_shortcode_step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: var(--voy2-transition);
}

.voy2professor_shortcode_step.completed {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    border-color: var(--voy2-success);
}

.voy2professor_shortcode_step_icon {
    font-size: 20px;
}

.voy2professor_shortcode_step_text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--voy2-dark);
    text-align: left;
}

.voy2professor_shortcode_step_status {
    font-size: 20px;
}

/* Estado Ativo - Conversação */
.voy2professor_shortcode_session_header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.voy2professor_shortcode_session_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.voy2professor_shortcode_status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.voy2professor_shortcode_status_dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--voy2-success);
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.4);
}

.voy2professor_shortcode_status_dot.status-listening {
    background: var(--voy2-warning);
    animation: pulse-fast 1s infinite;
}

.voy2professor_shortcode_status_dot.status-processing {
    background: var(--voy2-primary);
    animation: pulse-fast 0.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

@keyframes pulse-fast {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.voy2professor_shortcode_status_text {
    font-weight: 600;
    color: var(--voy2-dark);
    font-size: 15px;
}

.voy2professor_shortcode_timer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.voy2professor_shortcode_timer_icon {
    font-size: 18px;
}

.voy2professor_shortcode_timer_text {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 18px;
    font-weight: 600;
    color: var(--voy2-primary);
    letter-spacing: 1px;
}

.voy2professor_shortcode_timer_max {
    color: #a0aec0;
    font-size: 14px;
}

/* Visualização de Áudio Moderna */
.voy2professor_shortcode_audio_visual {
    text-align: center;
    margin-bottom: 25px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.voy2professor_shortcode_audio_visual.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

/* Indicadores de Fala */
.voy2professor_user_speaking,
.voy2professor_assistant_speaking {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    margin-bottom: 15px;
}

.voy2professor_user_speaking {
    background: rgba(72, 187, 120, 0.1);
}

.voy2professor_speaking_label {
    font-size: 14px;
    font-weight: 600;
    color: var(--voy2-dark);
}

/* Ondas de Áudio Animadas */
.voy2professor_audio_waves {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 60px;
    margin-bottom: 15px;
}

.voy2professor_wave {
    width: 4px;
    background: linear-gradient(to top, var(--voy2-primary), var(--voy2-accent));
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
    animation-play-state: paused;
}

.voy2professor_wave:nth-child(1) { height: 20px; animation-delay: 0s; }
.voy2professor_wave:nth-child(2) { height: 30px; animation-delay: 0.1s; }
.voy2professor_wave:nth-child(3) { height: 40px; animation-delay: 0.2s; }
.voy2professor_wave:nth-child(4) { height: 35px; animation-delay: 0.3s; }
.voy2professor_wave:nth-child(5) { height: 25px; animation-delay: 0.4s; }
.voy2professor_wave:nth-child(6) { height: 30px; animation-delay: 0.5s; }
.voy2professor_wave:nth-child(7) { height: 20px; animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.voy2professor_shortcode_audio_status_text {
    font-size: 14px;
    color: #718096;
    font-style: italic;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Log de Conversa Moderno */
.voy2professor_shortcode_conversation_log {
    max-height: 300px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    margin-bottom: 20px;
    scroll-behavior: smooth;
}

/* Scrollbar Customizada */
.voy2professor_shortcode_conversation_log::-webkit-scrollbar {
    width: 8px;
}

.voy2professor_shortcode_conversation_log::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.voy2professor_shortcode_conversation_log::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--voy2-primary) 0%, var(--voy2-secondary) 100%);
    border-radius: 10px;
}

/* Mensagens Estilizadas */
.voy2professor_shortcode_message {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.voy2professor_shortcode_message_assistant {
    margin-right: 50px;
}

.voy2professor_shortcode_message_user {
    margin-left: 50px;
    flex-direction: row-reverse;
}

.voy2professor_shortcode_message_system {
    justify-content: center;
    margin: 20px 0;
}

.voy2professor_shortcode_message_avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.voy2professor_shortcode_message_assistant .voy2professor_shortcode_message_avatar {
    background: linear-gradient(135deg, var(--voy2-primary) 0%, var(--voy2-secondary) 100%);
    color: white;
}

.voy2professor_shortcode_message_user .voy2professor_shortcode_message_avatar {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.voy2professor_shortcode_message_content {
    flex: 1;
    background: white;
    padding: 12px 18px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.voy2professor_shortcode_message_user .voy2professor_shortcode_message_content {
    background: linear-gradient(135deg, var(--voy2-primary) 0%, var(--voy2-secondary) 100%);
    color: white;
}

.voy2professor_shortcode_message_system .voy2professor_shortcode_message_content {
    background: rgba(102, 126, 234, 0.1);
    color: var(--voy2-primary);
    font-weight: 600;
    border-radius: 25px;
    padding: 8px 20px;
    box-shadow: none;
}

.voy2professor_shortcode_message_text {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Mensagem em Progresso */
.voy2professor_shortcode_message.in-progress .voy2professor_shortcode_message_content::after {
    content: '...';
    display: inline-block;
    animation: ellipsis 1.5s infinite;
}

@keyframes ellipsis {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
}

/* Controles Elegantes */
.voy2professor_shortcode_controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.voy2professor_shortcode_control_btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--voy2-transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--voy2-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.voy2professor_shortcode_control_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.voy2professor_shortcode_mute_btn:hover {
    border-color: var(--voy2-warning);
    background: rgba(246, 173, 85, 0.1);
}

.voy2professor_shortcode_end_btn {
    background: var(--voy2-danger);
    color: white;
    border-color: var(--voy2-danger);
}

.voy2professor_shortcode_end_btn:hover {
    background: #e53e3e;
    border-color: #e53e3e;
}

.voy2professor_shortcode_mute_btn.voy2professor_shortcode_muted {
    background: var(--voy2-warning);
    color: white;
    border-color: var(--voy2-warning);
}

.voy2professor_shortcode_control_icon {
    font-size: 18px;
}

/* Estado Finalizado */
.voy2professor_shortcode_session_summary {
    text-align: center;
    animation: fadeInScale 0.4s ease-out;
}

.voy2professor_shortcode_summary_header {
    margin-bottom: 30px;
}

.voy2professor_shortcode_summary_icon {
    font-size: 72px;
    margin-bottom: 20px;
    display: inline-block;
    animation: celebrate 0.6s ease-out;
}

@keyframes celebrate {
    0% {
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0);
    }
}

.voy2professor_shortcode_summary_header h4 {
    color: var(--voy2-dark);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.voy2professor_shortcode_summary_stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.voy2professor_shortcode_stat {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px 30px;
    border-radius: 16px;
    border: 2px solid #e9ecef;
    min-width: 150px;
}

.voy2professor_shortcode_stat_label {
    font-size: 13px;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.voy2professor_shortcode_stat_value {
    font-size: 24px;
    font-weight: 700;
    color: var(--voy2-primary);
}

/* Feedback do Tutor */
.voy2professor_shortcode_feedback {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
    border: 2px solid #e9ecef;
}

.voy2professor_tutor_feedback {
    text-align: left;
}

.voy2professor_tutor_feedback h5 {
    color: var(--voy2-primary);
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.voy2professor_tutor_feedback h5::before {
    content: '💬';
    font-size: 24px;
}

.voy2professor_tutor_feedback p {
    color: var(--voy2-dark);
    line-height: 1.6;
    margin: 0;
}

.voy2professor_session_reason {
    background: rgba(252, 129, 129, 0.1);
    border: 1px solid var(--voy2-danger);
    color: var(--voy2-danger);
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Botão Nova Sessão */
.voy2professor_shortcode_new_session_btn {
    background: #4285F4;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--voy2-transition);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.voy2professor_shortcode_new_session_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.voy2professor_shortcode_limit_reached {
    color: #718096;
    font-style: italic;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    line-height: 1.6;
}

/* Estado Sem Acesso */
.voy2professor_shortcode_no_access_content {
    text-align: center;
    padding: 60px 40px;
}

.voy2professor_shortcode_no_access_icon {
    font-size: 80px;
    margin-bottom: 25px;
    opacity: 0.5;
    animation: shake 0.6s ease-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.voy2professor_shortcode_no_access_text h4 {
    color: var(--voy2-dark);
    font-size: 24px;
    margin-bottom: 15px;
}

.voy2professor_shortcode_no_access_text p {
    color: #718096;
    line-height: 1.6;
    font-size: 16px;
}

/* Countdown Elegante */
.voy2professor_shortcode_countdown {
    background: linear-gradient(135deg, var(--voy2-primary) 0%, var(--voy2-secondary) 100%);
    color: white;
    padding: 25px;
    border-radius: 16px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.voy2professor_shortcode_countdown_label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.voy2professor_shortcode_countdown_timer {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Área de Erro Moderna */
.voy2professor_shortcode_error_area {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.voy2professor_shortcode_error_content {
    background: white;
    border-left: 4px solid var(--voy2-danger);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.voy2professor_shortcode_error_icon {
    font-size: 24px;
    flex-shrink: 0;
}

.voy2professor_shortcode_error_message {
    flex: 1;
    color: var(--voy2-dark);
    font-weight: 500;
}

.voy2professor_shortcode_error_close {
    background: rgba(252, 129, 129, 0.1);
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--voy2-danger);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--voy2-transition);
    flex-shrink: 0;
}

.voy2professor_shortcode_error_close:hover {
    background: var(--voy2-danger);
    color: white;
    transform: rotate(90deg);
}

/* Animações de Entrada */
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== INTEGRAÇÃO GAMIPRESS - PAINEL DE FRAGMENTO ===== */
.fragment-collection-panel {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--voy2-primary) 0%, var(--voy2-secondary) 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    animation: slideDown 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.fragment-collection-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.fragment-panel-content {
    position: relative;
    z-index: 1;
}

.fragment-success-icon {
    margin-bottom: 20px;
    display: inline-block;
    animation: checkmark 0.8s ease-out;
}

.fragment-success-icon svg {
    width: 64px;
    height: 64px;
    color: #fff;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.fragment-panel-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fragment-panel-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.fragment-button-wrapper {
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Customização do Botão GamiPress dentro do Painel */
.fragment-collection-panel .gamipress-button.botaodecoletafragidiomas {
    background: #fff !important;
    color: var(--voy2-primary) !important;
    font-weight: 600 !important;
    padding: 14px 36px !important;
    font-size: 18px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.fragment-collection-panel .gamipress-button.botaodecoletafragidiomas:hover:not(.botao-desabilitado) {
    background: #f0f0f0 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.fragment-collection-panel .gamipress-button.botaodecoletafragidiomas .botao-icone {
    color: var(--voy2-primary) !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .voy2professor_shortcode_container {
        margin: 15px;
        border-radius: 16px;
    }
    
    .voy2professor_shortcode_header {
        padding: 25px 20px;
    }
    
    .voy2professor_shortcode_title {
        font-size: 24px;
        color: #fff !important;
    }
    
    .voy2professor_shortcode_title h3{
        
        color: #fff !important;
    }
    
    .voy2professor_shortcode_content {
        padding: 25px;
    }
    
    .voy2professor_shortcode_user_info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .voy2professor_shortcode_topics_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .voy2professor_shortcode_session_info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .voy2professor_shortcode_controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .voy2professor_shortcode_control_btn {
        width: 100%;
        justify-content: center;
    }
    
    .voy2professor_shortcode_summary_stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .voy2professor_shortcode_stat {
        width: 100%;
    }
    
    .voy2professor_shortcode_message_assistant {
        margin-right: 20px;
    }
    
    .voy2professor_shortcode_message_user {
        margin-left: 20px;
    }
    
    .voy2professor_shortcode_error_area {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .fragment-collection-panel {
        padding: 30px 20px;
    }
    
    .fragment-panel-title {
        font-size: 20px;
    }
    
    .fragment-panel-subtitle {
        font-size: 14px;
    }
}

/* Estilo para o ícone do bot no avatar */
.voy2professor_shortcode_message_avatar .lucide {
    width: 24px;
    height: 24px;
    display: block;
}

.voy2professor_shortcode_message_assistant .voy2professor_shortcode_message_avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}