/* ============================================
   ORDER IN ANALYSIS PAGE STYLES
   ============================================ */

.order-analysis-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    animation: fadeIn 0.8s ease-out;
}

.order-analysis-card {
    background: var(--white);
    max-width: 600px;
    width: 100%;
    padding: 4rem 3rem;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.analysis-icon-wrapper {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.analysis-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8rem;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.25);
    z-index: 2;
    position: relative;
}

.analysis-spinner {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid transparent;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: analysis-spin 2s linear infinite;
}

.analysis-spinner::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 3px solid transparent;
    border-top-color: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: analysis-spin 3s linear infinite;
}

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

.analysis-title {
    font-family: var(--font-primary);
    color: var(--secondary-color);
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.analysis-message {
    color: #555878;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.info-box.blue {
    background-color: #f0f7ff;
    border: 1px solid #e0effe;
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    text-align: left;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.info-box.blue:hover {
    border-color: #bae0fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05);
}

.info-icon {
    background-color: #e0f2fe;
    color: #0369a1;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-label {
    display: block;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.info-description {
    font-size: 0.95rem;
    color: #075985;
    margin: 0;
    line-height: 1.6;
}

.analysis-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.analysis-actions a {
    text-decoration: none;
}

@media (max-width: 600px) {
    .order-analysis-container {
        padding: 2rem 1rem;
    }

    .order-analysis-card {
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }
    
    .analysis-title {
        font-size: 1.75rem;
    }

    .analysis-message {
        font-size: 1rem;
    }

    .analysis-actions {
        grid-template-columns: 1fr;
    }
    
    .action-btn-primary {
        order: -1;
    }

    .info-box {
        padding: 1.25rem;
    }
}
