/* Offline Event Page Styling */
.offline-event-section {
    padding: 50px 0;
    background-color: #f8fafc;
    min-height: calc(100vh - 200px);
}

.offline-event-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.offline-event-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.offline-event-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    line-height: 1.2;
}

.offline-event-info {
    margin-bottom: 32px;
}

.offline-event-sub-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.offline-event-meta {
    font-size: 14px;
    color: #64748b;
}

.offline-event-form-section {
    margin-top: 24px;
}

.offline-event-form-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.offline-event-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    align-items: start;
}

.offline-event-form-group {
    display: flex;
    flex-direction: column;
}

.offline-event-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.offline-event-required {
    color: #0077b6;
    margin-left: 2px;
    font-weight: 700;
}

.offline-event-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    color: #1e293b;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offline-event-input::placeholder,
.offline-event-textarea::placeholder {
    color: #94a3b8;
    font-size: 13.5px;
}

.offline-event-input:focus,
.offline-event-textarea:focus {
    border-color: #0077b6;
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.offline-event-textarea {
    width: 100%;
    height: 120px;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    color: #1e293b;
    background-color: #ffffff;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

/* Captcha / Verification Code */
.offline-event-captcha-row,
.newsletter-captcha-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.offline-event-captcha-input,
.newsletter-captcha-input {
    width: 140px !important;
    height: 42px;
}

.offline-event-captcha-code,
.newsletter-captcha-code {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    padding: 0 15px;
    font-weight: bold;
    letter-spacing: 5px;
    font-size: 18px;
    color: #374151;
    min-width: 100px;
    height: 42px;
    border-radius: 4px;
    user-select: none;
}

.offline-event-action {
    margin-top: 28px;
}

.offline-event-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0077b6;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.offline-event-submit-btn:hover {
    background-color: #005f92;
}

.offline-event-submit-btn:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .offline-event-card {
        padding: 24px 20px;
    }

    .offline-event-main-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .offline-event-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .offline-event-textarea {
        height: 100px;
    }
}
