/* ================================================================
   Vendor_Roadshow – Registration Form Styles
   Matches: Technology Roadshow 2026 UI
   ================================================================ */

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
    --rs-primary:       #1b3a8c;
    --rs-primary-dark:  #142d6e;
    --rs-primary-light: #2a52c9;
    --rs-accent:        #2563eb;
    --rs-accent-hover:  #1d4ed8;
    --rs-bg:            #f0f2f7;
    --rs-card-bg:       #ffffff;
    --rs-border:        #d1d5db;
    --rs-border-focus:  #2563eb;
    --rs-text:          #1f2937;
    --rs-text-muted:    #6b7280;
    --rs-label:         #374151;
    --rs-error:         #dc2626;
    --rs-error-bg:      #fef2f2;
    --rs-error-border:  #fca5a5;
    --rs-success:       #16a34a;
    --rs-success-bg:    #f0fdf4;
    --rs-success-border:#86efac;
    --rs-section-title: #1b3a8c;
    --rs-radius:        6px;
    --rs-radius-lg:     10px;
    --rs-shadow:        0 2px 16px rgba(27,58,140,0.09);
    --rs-transition:    0.2s ease;
}

/* ── Wrapper ─────────────────────────────────────────────────── */
.roadshow-wrapper {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--rs-text);
    background: var(--rs-bg);
    min-height: 100vh;
}
.roadshow-index-index .column.main {
    margin-top: 0;
}
.roadshow-field #designation {
    width: 50%;
}
.roadshow-index-index #maincontent {
    width: 100%;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
}
/* ── Hero Banner ─────────────────────────────────────────────── */
.roadshow-hero {
    background: linear-gradient(135deg, #1755a8 0%, #0d3a78 100%);
    padding: 52px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 250px;
}

.roadshow-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.roadshow-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.roadshow-hero__title {
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    line-height: 1.2;
    font-size: 42px;
    margin-bottom: 20px;
}

.roadshow-hero__subtitle {
    color: #fff;
    line-height: 1.6;
    font-size: 21px;
    width: 800px;
    margin: 0 auto !important;
    opacity: 0.9;
}

/* ── Container ───────────────────────────────────────────────── */
.roadshow-container {
    max-width: 70%;
    margin: 0 auto;
    padding: 32px 16px 56px;
}

/* ── Form Card ───────────────────────────────────────────────── */
.roadshow-form-card {
    background: var(--rs-card-bg);
    border-radius: var(--rs-radius-lg);
    box-shadow: var(--rs-shadow);
    padding: 0 0 8px;
    overflow: hidden;
}

/* ── Alerts ──────────────────────────────────────────────────── */
.roadshow-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;

}

.roadshow-alert--success {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #86efac;
}

.roadshow-alert--error {
    background: var(--rs-error-bg);
    color: var(--rs-error);
    border-color: var(--rs-error-border);
}

.roadshow-alert__icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Section ─────────────────────────────────────────────────── */
.roadshow-section {
    padding: 28px 32px 8px;
    border-bottom: 1px solid #e5e7eb;
}

.roadshow-section:last-of-type {
    border-bottom: none;
}

.roadshow-section__title {
    font-weight: 600;
    color: #1755a8 !important;
    margin: 0 0 20px;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 22px;
    margin-bottom: 0;
    padding-bottom: 20px;
    margin-top: 0;
}

.roadshow-section__num {
    color: var(--rs-section-title);
}

/* ── Grid ────────────────────────────────────────────────────── */
.roadshow-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.roadshow-grid--2 {
    grid-template-columns: 1fr 1fr;
}

.roadshow-grid--1 {
    grid-template-columns: 1fr;
}

/* ── Field ───────────────────────────────────────────────────── */
.roadshow-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.roadshow-grid .roadshow-field {
    margin-bottom: 0;
}

/* ── Label ───────────────────────────────────────────────────── */
.roadshow-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.01em;
}

.roadshow-label .required {
    color: var(--rs-error);
    margin-left: 2px;
}

.roadshow-hint {
    font-size: 0.77rem;
    font-weight: 400;
    color: var(--rs-text-muted);
}

/* ── Input ───────────────────────────────────────────────────── */
.roadshow-input {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    font-size: 0.88rem;
    color: var(--rs-text);
    background: #fff;
    outline: none;
    transition: border-color var(--rs-transition), box-shadow var(--rs-transition);
    width: 100%;
    box-sizing: border-box;
}

.roadshow-input::placeholder {
    color: #9ca3af;
}

.roadshow-input:focus {
    border-color: var(--rs-border-focus);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}

.roadshow-input--error {
    border-color: var(--rs-error) !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08) !important;
}

/* ── Select ──────────────────────────────────────────────────── */
.roadshow-select {
    height: 40px;
    padding: 0 36px 0 12px;
    border-radius: var(--rs-radius);
    font-size: 14px;
    color: #000;
    outline: none;
    cursor: pointer;
    width: 100%;
}

.roadshow-select:focus {
    border-color: var(--rs-border-focus);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}

/* ── Radio Group ─────────────────────────────────────────────── */
.roadshow-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
}

.roadshow-radio-label {
    align-items: center;
    gap: 7px;
    user-select: none;
    font-size: 14px;
    color: #000;
    outline: none;
    cursor: pointer;
    display: contents;

}

.roadshow-radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--rs-accent);
    cursor: pointer;
    flex-shrink: 0;
}

.roadshow-radio-text {
    line-height: 1;
}

/* ── Checkbox Group ──────────────────────────────────────────── */
.roadshow-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.roadshow-checkbox-label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #000;
}

.roadshow-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--rs-accent);
    cursor: pointer;
    flex-shrink: 0;
}

.roadshow-checkbox-text {
    line-height: 1;
}

/* ── Field Error Message ─────────────────────────────────────── */
.roadshow-error-msg {
    font-size: 12px;
    color: #ff0000;
    min-height: 16px;
    display: block;
}

/* ── Submit Button ───────────────────────────────────────────── */
.roadshow-submit-wrapper {
    padding: 24px 32px 28px;
    display: flex;
    justify-content: center;
}

.roadshow-btn-submit {
    background-color: #1755a8;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background 0.2s;
    display: block;
    margin: 40px auto 0;
    width: 100%;
    max-width: 400px;
}

.roadshow-btn-submit:hover:not(:disabled) {
    background: var(--rs-accent-hover);
    box-shadow: 0 4px 16px rgba(37,99,235,0.28);
    transform: translateY(-1px);
}

.roadshow-btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.roadshow-btn-submit:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

/* ── Giveaway Details Sub-section ────────────────────────────── */
.roadshow-giveaway-details {
    background: #f0f4fb;
    border: 1px solid #d1d9ef;
    border-radius: var(--rs-radius-lg);
    padding: 24px 28px;
    margin-top: 16px;
}

.roadshow-giveaway-details__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--rs-primary);
    margin: 0 0 20px;
}

/* ── Textarea ─────────────────────────────────────────────────── */
.roadshow-textarea {
    padding: 10px 12px;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    font-size: 14px;
    color: #000;
    background: #fff;
    outline: none;
    transition: border-color var(--rs-transition), box-shadow var(--rs-transition);
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.roadshow-textarea::placeholder {
    color: #9ca3af;
}

.roadshow-textarea:focus {
    border-color: var(--rs-border-focus);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}

/* ── Spinner ─────────────────────────────────────────────────── */
.roadshow-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rs-spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes rs-spin {
    to { transform: rotate(360deg); }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
    .roadshow-hero {
        padding: 36px 16px 32px;
    }

    .roadshow-hero__title {
        font-size: 1.45rem;
    }

    .roadshow-section {
        padding: 22px 16px 6px;
    }

    .roadshow-grid--2 {
        grid-template-columns: 1fr;
    }

    .roadshow-submit-wrapper {
        padding: 20px 16px 24px;
    }

    .roadshow-btn-submit {
        width: 100%;
    }
    .roadshow-container {
     max-width: 100%;     
    }
}


