/* Portal (customer) pages */

.portal-page {
    min-height: 100vh;
    background: #f3f4f6;
    display: flex;
    flex-direction: column;
}

.portal-header {
    background: #1e3a5f;
    color: white;
    padding: 0.875rem 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.portal-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.portal-brand {
    font-weight: 700;
    font-size: 1.15rem;
    white-space: nowrap;
}

.portal-nav nav {
    display: flex;
    gap: 1.25rem;
    flex: 1;
    flex-wrap: wrap;
}

.portal-nav nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.portal-nav nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.portal-nav nav a.active {
    color: white;
    background: rgba(96, 165, 250, 0.2);
}

.portal-logout {
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border: 1px solid #475569;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.portal-logout:hover {
    color: white;
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.portal-main {
    flex: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
}

@media (max-width: 640px) {
    .portal-header { padding: 0.75rem 1rem; }
    .portal-nav { gap: 0.75rem; }
    .portal-brand { font-size: 1rem; }
    .portal-nav nav { gap: 0.75rem; }
    .portal-nav nav a { font-size: 0.85rem; padding: 0.3rem 0.4rem; }
    .portal-logout { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
    .portal-main { padding: 1rem; }
}

/* Portal — destek sayfası */
.portal-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-head h2 {
    margin: 0;
    color: #1e3a5f;
}

.section-desc {
    color: #6b7280;
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

.support-staff-preview-banner {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    color: #78350f;
}

.support-staff-preview-banner strong {
    display: block;
    margin-bottom: 0.35rem;
}

.support-staff-preview-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.support-staff-login-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 600;
    color: #1e3a5f;
    text-decoration: none;
}

.support-staff-login-link:hover {
    color: #2563eb;
}

.support-cta-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 1.25rem;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 55%, #2563eb 100%);
    color: #fff;
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.18);
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
}

.support-cta-card:hover,
.support-cta-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 39, 68, 0.28);
    outline: none;
    color: #fff;
}

.support-cta-icon-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 12px;
}

.support-cta-content {
    flex: 1;
}

.support-cta-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
    margin-bottom: 0.3rem;
}

.support-cta-content strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.3;
}

.support-cta-content p {
    margin: 0.35rem 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.45;
}

.support-cta-arrow {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.support-form-card {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.support-form-card h3 {
    margin: 0 0 1rem;
    color: #1e3a5f;
}

.portal-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.btn-portal-primary {
    padding: 0.75rem 1.5rem;
    background: #1e3a5f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-portal-secondary {
    padding: 0.75rem 1.5rem;
    background: #e5e7eb;
    color: #374151;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.ticket-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: #fafafa;
}

.ticket-card.answered {
    border-color: #86efac;
    background: #f0fdf4;
}
