/* Apple Questions Modal Styles */
.apple-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.apple-modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.apple-modal-container {
    background: #1c1c1e;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.apple-modal-overlay.show .apple-modal-container {
    transform: scale(1);
}

.apple-modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apple-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

.apple-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.apple-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.apple-modal-content {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 180px);
}

.apple-modal-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.apple-generate-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.apple-generate-btn:disabled {
    background: #2c2c2e;
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.apple-generate-btn:not(:disabled):hover {
    transform: scale(0.98);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.apple-generate-btn:not(:disabled):active {
    transform: scale(0.96);
}

/* Grupos de opções */
.apple-option-group {
    margin-bottom: 32px;
}

.apple-option-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* Cards de tipo de questão */
.apple-option-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.apple-option-card {
    background: #2c2c2e;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.apple-option-card:hover {
    background: #3c3c3e;
    transform: translateY(-2px);
}

.apple-option-card.selected {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.apple-option-icon {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 12px;
}

.apple-option-text {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.apple-option-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* Pills de opções */
.apple-option-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.apple-pill {
    padding: 12px 24px;
    background: #2c2c2e;
    border: 2px solid transparent;
    border-radius: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.apple-pill:hover {
    background: #3c3c3e;
}

.apple-pill.selected {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #667eea;
}

/* Grid de foco */
.apple-option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.apple-focus-btn {
    padding: 16px;
    background: #2c2c2e;
    border: 2px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.apple-focus-btn:hover {
    background: #3c3c3e;
}

.apple-focus-btn.selected {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #667eea;
}

/* Checkbox customizado */
.apple-save-prefs {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.apple-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.apple-checkbox input {
    display: none;
}

.apple-checkbox-mark {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.apple-checkbox input:checked + .apple-checkbox-mark {
    background: #667eea;
    border-color: #667eea;
}

.apple-checkbox input:checked + .apple-checkbox-mark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.apple-checkbox-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* Animação de loading */
@keyframes apple-spin {
    to { transform: rotate(360deg); }
}

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

/* Mobile responsivo */
@media (max-width: 480px) {
    .apple-option-cards {
        grid-template-columns: 1fr;
    }
    
    .apple-option-grid {
        grid-template-columns: 1fr;
    }
    
    .apple-modal-container {
        width: 95%;
        margin: 16px;
    }
}
/* Ajustes de UX - Visual mais limpo e profissional */

/* Tags de metadados - mais sutis */
.apple-meta-tag {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.apple-meta-assertive,
.apple-meta-multiple {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

.apple-meta-easy {
    color: rgba(134, 239, 172, 0.8);
    border-color: rgba(134, 239, 172, 0.2);
}

.apple-meta-medium {
    color: rgba(251, 191, 36, 0.8);
    border-color: rgba(251, 191, 36, 0.2);
}

.apple-meta-hard {
    color: rgba(248, 113, 113, 0.8);
    border-color: rgba(248, 113, 113, 0.2);
}

/* Questão - mais espaçamento */
.apple-question-statement {
    margin: 32px 0;
}

.apple-question-statement h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apple-question-statement p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Opções de múltipla escolha - mais clean */
.apple-option-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.apple-option-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(2px);
}

.apple-option-item.selected {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.apple-option-letter {
    font-weight: 600;
    margin-right: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
}

.apple-option-item.selected .apple-option-letter {
    color: rgba(255, 255, 255, 0.8);
}

/* Botões assertivos - mais simples */
.apple-assertive-btn {
    padding: 18px 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
}

.apple-assertive-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.apple-assertive-btn.selected {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Estados de acerto/erro - mais sutis */
.apple-option-item.correct,
.apple-assertive-btn.correct {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.3);
}

.apple-option-item.incorrect,
.apple-assertive-btn.incorrect {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Feedback - mais elegante */
.apple-answer-feedback {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.apple-answer-feedback.correct {
    border-color: rgba(34, 197, 94, 0.2);
}

.apple-answer-feedback.incorrect {
    border-color: rgba(239, 68, 68, 0.2);
}

.feedback-icon {
    font-size: 24px;
    font-weight: 400;
}

.feedback-text {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* Seção de resposta - mais clean */
.apple-answer-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.apple-answer-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.apple-correct-answer {
    color: rgba(134, 239, 172, 0.9);
    font-weight: 600;
}

.apple-justification h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apple-justification p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

/* Botão revelar - mais sutil */
.apple-btn-reveal {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
}

.apple-btn-reveal:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: none;
}

.apple-btn-reveal:disabled {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Modal container - ajustes gerais */
.apple-modal-container {
    background: #1a1a1c;
}

.apple-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.apple-modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Remover gradientes coloridos */
.apple-generate-btn:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.apple-generate-btn:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}
/* Apple Loading Experience */
.apple-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 20px;
    transition: opacity 0.3s ease;
}

.apple-loading-container {
    text-align: center;
    padding: 40px;
}

.apple-loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 24px;
}

.apple-loading-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.6s ease;
}

.apple-loading-text {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.apple-loading-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Transição entre questões */
.apple-transition-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.apple-transition-content {
    text-align: center;
}

.apple-transition-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 0.8s ease-in-out infinite;
}

.apple-transition-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

.apple-modal-container.transitioning {
    transform: scale(0.98);
    opacity: 0.8;
}

/* Ajustar posição do modal body para o overlay */
.apple-modal-body {
    position: relative;
}
/* Apple Loading Experience */
.apple-loading-experience {
    padding: 40px;
    text-align: center;
}

.apple-loading-header h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: white;
}

.apple-loading-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

/* Progress Bar */
.apple-progress-container {
    margin-bottom: 48px;
}

.apple-progress-bar {
    width: 100%;
    max-width: 400px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto 16px;
    overflow: hidden;
}

.apple-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.4s ease;
}

.apple-progress-percentage {
    font-size: 24px;
    font-weight: 600;
    color: white;
    letter-spacing: -0.5px;
}

/* Loading Stages */
.apple-loading-stages {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto;
}

.apple-stage {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.apple-stage.active {
    opacity: 1;
}

.apple-stage.completed {
    opacity: 0.6;
}

.apple-stage-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.apple-stage.active .apple-stage-icon {
    background: rgba(255, 255, 255, 0.1);
}

.apple-stage.completed .apple-stage-icon {
    background: rgba(255, 255, 255, 0.08);
}

.apple-stage-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0;
}

.apple-stage.active .apple-stage-spinner {
    opacity: 1;
    animation: spin 0.8s linear infinite;
}

.apple-stage.completed .apple-stage-spinner {
    opacity: 0;
}

.apple-stage.completed .apple-stage-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 10px;
    border-left: 3px solid rgba(255, 255, 255, 0.8);
    border-bottom: 3px solid rgba(255, 255, 255, 0.8);
    transform: rotate(-45deg);
    top: 16px;
}

.apple-stage-content {
    flex: 1;
    text-align: left;
}

.apple-stage-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.apple-stage-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Error State */
.apple-error-state {
    padding: 40px;
    text-align: center;
}

.apple-error-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 59, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ff3b30;
    margin: 0 auto 24px;
}

.apple-error-state h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.apple-error-state p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.apple-error-state .apple-btn {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff3b30;
}

.apple-error-state .apple-btn:hover {
    background: rgba(255, 59, 48, 0.2);
}

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

/* Responsive */
@media (max-width: 480px) {
    .apple-loading-experience {
        padding: 24px;
    }
    
    .apple-loading-header h3 {
        font-size: 24px;
    }
    
    .apple-stage {
        gap: 16px;
    }
    
    .apple-stage-icon {
        width: 40px;
        height: 40px;
    }
}


/* Apple-style Questions Loading */
.questions-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.questions-loading.show {
    opacity: 1;
    visibility: visible;
}

.loading-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.loading-container {
    position: relative;
    text-align: center;
    z-index: 1;
}

.loading-icon-wrapper {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.loading-icon {
    position: relative;
    width: 56px;
    height: 56px;
}

.progress-ring {
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.3s ease;
}

.loading-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.2) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

.loading-content {
    max-width: 320px;
}

.loading-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.loading-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.loading-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step-item.active {
    opacity: 1;
}

.step-item.completed {
    opacity: 0.7;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.step-item.active .step-dot {
    background: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
}

.step-item.completed .step-dot {
    background: #4CAF50;
}

.step-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loading-details {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

/* Apple-style Questions Loading Experience */
.questions-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.questions-loading.show {
    opacity: 1;
    visibility: visible;
}

.loading-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.loading-container {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 40px;
}

.loading-icon-wrapper {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.loading-icon {
    position: relative;
    width: 56px;
    height: 56px;
}

.progress-ring {
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.3s ease;
}

.loading-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.2) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

.loading-content {
    max-width: 320px;
    margin: 0 auto;
}

.loading-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.loading-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.loading-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step-item.active {
    opacity: 1;
}

.step-item.completed {
    opacity: 0.7;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.step-item.active .step-dot {
    background: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
}

.step-item.completed .step-dot {
    background: #4CAF50;
}

.step-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loading-details {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .loading-steps {
        gap: 16px;
    }
    
    .step-item span {
        font-size: 9px;
    }
    
    .loading-details {
        gap: 16px;
        padding: 12px;
    }
}
