/**
 * Support Page Styles
 * Dual support streams with choice boxes
 */

:root {
    --bg: #ffffff;
    --text: #101114;
    --muted: #60636b;
    --line: #ececf2;
    --acc1: #6d28d9; /* Purple */
    --acc2: #06b6d4; /* Mint/Cyan */
    --shadow: 0 14px 40px rgba(16,17,20,.08);
    --shadow-hover: 0 6px 20px rgba(0,0,0,.12);
}

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

body {
    font-family: Inter, system-ui, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
    background: 
        radial-gradient(60% 40% at 15% -10%, rgba(109,40,217,.08), transparent 60%),
        radial-gradient(40% 30% at 110% 10%, rgba(6,182,212,.06), transparent 70%),
        #fff;
    min-height: 100vh;
    color: var(--text);
    padding: 40px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.brand-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: conic-gradient(from 210deg, var(--acc1), var(--acc2));
    box-shadow: 0 0 0 6px rgba(109,40,217,.08);
}

h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--acc1), var(--acc2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.lang-switcher {
    display: inline-flex;
    gap: 8px;
    margin-top: 16px;
    background: var(--line);
    padding: 4px;
    border-radius: 8px;
}

.lang-switcher a {
    padding: 8px 16px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
}

.lang-switcher a:hover {
    color: var(--text);
}

.lang-switcher a.active {
    background: #fff;
    color: var(--acc1);
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

/* Choice Container */
.choice-container {
    margin-bottom: 40px;
}

.choice-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text);
}

.choice-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Choice Boxes */
.choice-box {
    width: 100%;
    min-height: 160px;
    padding: 24px;
    border-radius: 18px;
    border: 2px solid transparent;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.choice-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--acc1), var(--acc2));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.choice-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(109,40,217,.2);
}

.choice-box:hover::before {
    transform: scaleX(1);
}

.choice-box.active {
    border-color: var(--acc1);
    box-shadow: 0 8px 24px rgba(109,40,217,.15);
    background: linear-gradient(135deg, rgba(109,40,217,.03), rgba(6,182,212,.03));
}

.choice-box.active::before {
    transform: scaleX(1);
}

.choice-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}

.choice-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.choice-content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

/* Card Styles */
.card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 32px;
    margin-bottom: 24px;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.form-header h2 {
    font-size: 24px;
    margin: 0;
}

.btn-back {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-back:hover {
    border-color: var(--acc1);
    color: var(--acc1);
    background: rgba(109,40,217,.05);
}

/* Alert Styles */
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

label .required {
    color: #dc2626;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--acc1);
    box-shadow: 0 0 0 3px rgba(109,40,217,.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input[type="file"] {
    padding: 10px;
    border: 2px dashed var(--line);
    background: #f9fafb;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: var(--acc1);
    background: rgba(109,40,217,.02);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(180deg, var(--acc1), #5b21b6);
    color: #fff;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109,40,217,.3);
}

/* Success Box */
.success-box {
    text-align: center;
    padding: 40px;
}

.success-box h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--acc1);
}

.ticket-id {
    font-size: 24px;
    font-weight: 700;
    color: var(--acc1);
    margin: 16px 0;
    padding: 16px;
    background: rgba(109,40,217,.1);
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .choice-boxes {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .card {
        padding: 24px;
    }
    
    .choice-box {
        min-height: 140px;
        padding: 20px;
    }
}



