/* ============================================
   3D ANGELS - CLIENT TRACKING PAGE
   ============================================ */

/* ── Client Layout ── */
.client-layout {
    min-height: 100vh;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* ── Blur Decorative Shapes ── */
.bg-blur-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

.bg-blur-1 {
    top: -10%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 183, 255, 0.25) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.bg-blur-2 {
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 183, 255, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
}

/* ── Client Header ── */
.client-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--space-md) var(--space-lg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.client-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.client-header-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.client-header-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.client-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.client-header-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.client-header-admin-link {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: all var(--transition-fast);
}

.client-header-admin-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 183, 255, 0.02);
}

@media (max-width: 640px) {
    .client-header-container {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
        text-align: center;
    }
    
    .client-header-brand {
        justify-content: center;
        width: 100%;
    }
    
    .client-header-admin-link {
        display: none; /* Ocultar no mobile para deixar limpo, link estará no rodapé */
    }
}

/* ── Landing Main Content ── */
.client-landing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
    z-index: 1;
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* ── Hero Section ── */
.client-hero-section {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 650px;
}

.client-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #0f172a 30%, #00B7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.client-hero-subtitle {
    font-size: var(--font-size-base);
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .client-hero-title {
        font-size: 1.85rem;
    }
}

/* ── Search Card ── */
.client-search-card-wrapper {
    width: 100%;
    max-width: 580px;
    margin-bottom: var(--space-3xl);
}

.client-search-card {
    background: #ffffff;
    border-radius: 24px;
    padding: var(--space-2xl);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(0, 183, 255, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-search-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 183, 255, 0.1) 0%, rgba(0, 183, 255, 0.02) 100%);
    color: #00B7FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(0, 183, 255, 0.2);
}

.client-search-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: var(--space-xs);
}

.client-search-card-desc {
    font-size: var(--font-size-sm);
    color: #64748b;
    margin-bottom: var(--space-xl);
    max-width: 380px;
    line-height: 1.5;
}

.client-search-form {
    width: 100%;
    display: flex;
    gap: var(--space-md);
    align-items: stretch;
}

.client-input-wrapper {
    position: relative;
    flex: 1;
}

.client-input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.client-search-form .form-input.tracking-input-field {
    font-size: 1.1rem;
    padding: 14px 14px 14px 44px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius-lg);
    border: 2px solid #e2e8f0;
    height: 52px;
    background: #f8fafc;
}

.client-search-form .form-input.tracking-input-field:focus {
    border-color: #00B7FF;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 183, 255, 0.1);
}

.client-search-form .btn-consultar {
    padding: 0 28px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    height: 52px;
    background: linear-gradient(135deg, #00B7FF 0%, #008cd4 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 183, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.client-search-form .btn-consultar:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 183, 255, 0.3);
}

@media (max-width: 640px) {
    .client-search-form {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .client-search-form .btn-consultar {
        width: 100%;
    }
}

/* ── Benefits Section ── */
.client-benefits-section {
    width: 100%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    width: 100%;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 18px;
    padding: var(--space-lg);
    text-align: left;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.benefit-icon.blue { background: rgba(0, 183, 255, 0.08); color: #00B7FF; }
.benefit-icon.purple { background: rgba(139, 92, 246, 0.08); color: #8B5CF6; }
.benefit-icon.green { background: rgba(34, 197, 94, 0.08); color: #22C55E; }

.benefit-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.benefit-card p {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* ── Order Detail (Client View) ── */
.client-content {
    flex: 1;
    padding: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
    position: relative;
}

.client-order-hero-card {
    background: #ffffff;
    border-radius: 24px;
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(0, 183, 255, 0.08);
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.client-order-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 183, 255, 0.08);
    color: #00B7FF;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-md);
}

.client-order-hero-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #0f172a 30%, #00B7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.client-order-hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    color: #64748b;
    font-size: 0.85rem;
}

.client-order-hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.client-order-hero-meta .meta-item i {
    color: #00B7FF;
}

/* ── Status Section ── */
.client-status-section {
    margin-bottom: var(--space-lg);
}

.client-status-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 183, 255, 0.08);
    padding: var(--space-xl);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.client-status-current {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid #f1f5f9;
}

.client-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.client-status-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-status-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

/* ── Client Info Grid ── */
.client-info-section {
    margin-bottom: var(--space-xl);
    width: 100%;
}

.client-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    width: 100%;
}

.client-info-card {
    background: #ffffff;
    border: 1px solid rgba(0, 183, 255, 0.08);
    border-radius: 16px;
    padding: 16px var(--space-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: all var(--transition-base);
}

.client-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 183, 255, 0.06);
    border-color: rgba(0, 183, 255, 0.15);
}

.client-info-card.full-width {
    grid-column: 1 / -1;
}

.client-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.client-info-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.client-info-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-info-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    word-break: break-word;
}

.client-info-value.money-green { color: var(--success); }
.client-info-value.money-orange { color: var(--warning); }
.client-info-value.money-blue { color: var(--primary); }

/* ── WhatsApp Button ── */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 50;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 24px;
    background: #25D366;
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

@media (max-width: 640px) {
    .whatsapp-btn span {
        display: none;
    }
    .whatsapp-btn {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .whatsapp-btn i {
        font-size: 1.5rem;
    }
    .client-info-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

/* ── Client Footer ── */
.client-footer {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.client-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ── Login Page ── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,183,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,183,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.login-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.login-logo-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: var(--shadow-primary);
}

.login-logo-text {
    color: white;
    font-size: var(--font-size-2xl);
    font-weight: 800;
}

.login-title {
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-xl);
}

.login-form .form-group {
    margin-bottom: var(--space-md);
}

.login-form .form-label {
    color: rgba(255,255,255,0.5);
}

.login-form .form-input {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: white;
}

.login-form .form-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.login-form .form-input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
}

.login-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: var(--font-size-md);
    margin-top: var(--space-sm);
}

.login-forgot {
    text-align: center;
    margin-top: var(--space-lg);
}

.login-forgot a {
    color: rgba(255,255,255,0.5);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.login-forgot a:hover {
    color: var(--primary);
}
