/* ══════════════════════════════════════════════════════════════
   soporte.css — Support page styles
   Shares the same design language as login.css / historial.css
══════════════════════════════════════════════════════════════ */

/* ── Base & background ───────────────────────────────────────── */
body {
    font-family: 'Raleway', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    color: #fff;
}

.page-bg-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 80vh;
    background: radial-gradient(ellipse at 60% 0%, rgba(196, 69, 54, 0.10) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.page-bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.023) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.023) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse at center, black 5%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, black 5%, transparent 75%);
}

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar {
    background-color: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-logo-icon {
    height: 40px;
    width: 40px;
    padding: 5px;
    background: linear-gradient(135deg, #c44536, #d95f4e);
    border-radius: 10px;
    margin-right: 0.75rem;
    object-fit: contain;
}

.navbar-logo-text {
    height: 40px;
}

/* ── Page wrapper ────────────────────────────────────────────── */
.support-page {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 80px;
}

/* ── Two-column split ────────────────────────────────────────── */
.support-split {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: start;
}

/* ── Left info panel ─────────────────────────────────────────── */
.support-panel {
    position: sticky;
    top: 90px;
}

.support-panel-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.support-panel-icon {
    height: 36px;
    width: 36px;
    padding: 4px;
    background: linear-gradient(135deg, #c44536, #d95f4e);
    border-radius: 9px;
    object-fit: contain;
}

.support-panel-name {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.support-panel-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.support-panel-title span {
    background: linear-gradient(135deg, #c44536, #ff7a64);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-panel-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* Info pills */
.support-info-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 14px;
}

.si-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(196, 69, 54, 0.12);
    border: 1px solid rgba(196, 69, 54, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c44536;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.si-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 3px;
}

.si-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1;
}

.si-value a {
    color: #c44536;
    text-decoration: none;
}

.si-value a:hover {
    text-decoration: underline;
}

/* ── Right: form card ────────────────────────────────────────── */
.support-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 2.25rem;
}

/* ── Card header ─────────────────────────────────────────────── */
.support-card-header {
    margin-bottom: 1.75rem;
}

.support-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #c44536;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 0.5rem;
}

.support-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: #c44536;
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

.support-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.support-card-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Form elements ───────────────────────────────────────────── */
.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    padding: 10px 14px;
    transition: border-color 0.2s, background 0.2s;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(196, 69, 54, 0.55);
    box-shadow: 0 0 0 3px rgba(196, 69, 54, 0.12);
    color: #fff;
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.form-select option {
    background: #1a1a1a;
    color: #fff;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.form-hint {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 5px;
    line-height: 1.5;
}

.form-hint a {
    color: #c44536;
    text-decoration: none;
}

.form-hint a:hover {
    text-decoration: underline;
}

/* ── Submit button ───────────────────────────────────────────── */
.btn-support-submit {
    width: 100%;
    background: linear-gradient(135deg, #c44536, #a33025);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 13px 24px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-support-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(196, 69, 54, 0.4);
}

.btn-support-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* ── Alert messages ──────────────────────────────────────────── */
.support-alert {
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1rem;
}

.support-alert.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.support-alert.error {
    background: rgba(196, 69, 54, 0.1);
    border: 1px solid rgba(196, 69, 54, 0.3);
    color: #f87171;
}

/* ── Divider ─────────────────────────────────────────────────── */
.support-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 1.5rem 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .support-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .support-panel {
        position: static;
    }

    .support-panel-title {
        font-size: 1.25rem;
    }

    .support-info-items {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .support-info-item {
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
    }

    .support-card {
        padding: 1.5rem;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .support-info-item {
        flex: 1 1 100%;
    }

    .support-card {
        padding: 1.25rem;
    }
}
