/* ============================================
   VexTrim Network — Support Portal Stylesheet
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #080c14;
    color: #d0e8ff;
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
}

/* ---- Layout ---- */

.vex-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

/* Background grid */
.vex-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 170, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 170, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Top glow blob */
.vex-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 140, 255, 0.12) 0%, transparent 70%);
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* ---- Card ---- */

.card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background: rgba(10, 18, 32, 0.92);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        0 0 0 1px rgba(0, 150, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 24px 64px rgba(0, 0, 0, 0.6);
}

/* Top accent line */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.6), transparent);
}

/* ---- Logo / Branding ---- */

.logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 150, 255, 0.15);
    border: 1px solid rgba(0, 150, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #e8f4ff;
    letter-spacing: 0.04em;
}

.brand span {
    color: #38b6ff;
}

.tagline {
    font-size: 11px;
    color: rgba(160, 195, 230, 0.45);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ---- Rules Box ---- */

.rules-box {
    background: rgba(0, 140, 255, 0.07);
    border: 1px solid rgba(0, 140, 255, 0.18);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 1.5rem;
}

.rules-title {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #38b6ff;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rules-list li {
    font-size: 13px;
    color: rgba(180, 210, 240, 0.75);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.rules-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0, 170, 255, 0.5);
}

/* ---- Form Fields ---- */

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(140, 185, 230, 0.7);
    margin-bottom: 6px;
    font-weight: 500;
}

.field input,
.field textarea {
    width: 100%;
    background: rgba(0, 12, 28, 0.7);
    border: 1px solid rgba(0, 150, 255, 0.15);
    border-radius: 8px;
    padding: 11px 14px;
    color: #d0e8ff;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(100, 150, 200, 0.35);
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(0, 170, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.08);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

/* ---- Submit Button ---- */

.submit-btn {
    width: 100%;
    margin-top: 4px;
    padding: 13px;
    background: rgba(0, 140, 255, 0.18);
    border: 1px solid rgba(0, 170, 255, 0.4);
    border-radius: 8px;
    color: #6dcfff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
}

.submit-btn:hover {
    background: rgba(0, 150, 255, 0.3);
    border-color: rgba(0, 200, 255, 0.6);
    color: #aae8ff;
}

.submit-btn:active {
    transform: scale(0.99);
}

/* ---- Feedback Messages ---- */

.success-msg {
    text-align: center;
    padding: 12px 16px;
    background: rgba(0, 255, 128, 0.07);
    border: 1px solid rgba(0, 255, 128, 0.2);
    border-radius: 8px;
    color: #5dffa0;
    font-size: 14px;
    font-weight: 500;
    margin-top: 14px;
}

.error-msg {
    text-align: center;
    padding: 12px 16px;
    background: rgba(255, 80, 80, 0.07);
    border: 1px solid rgba(255, 80, 80, 0.2);
    border-radius: 8px;
    color: #ff8080;
    font-size: 14px;
    font-weight: 500;
    margin-top: 14px;
}

/* ---- Footer ---- */

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.15), transparent);
    margin: 1.5rem 0 1rem;
}

.footer-note {
    text-align: center;
    font-size: 11px;
    color: rgba(100, 150, 200, 0.3);
    letter-spacing: 0.06em;
}

/* ---- Responsive ---- */

@media (max-width: 500px) {
    .card {
        padding: 1.5rem 1.25rem;
    }

    .brand {
        font-size: 19px;
    }
}
