/**
 * Askopis Membership Form Stylesheet
 * Desain modern, bersih, elegan, dan responsif
 */

.askopis_form_wrapper {
    max-width: 780px;
    margin: 24px auto 40px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    font-family: inherit;
}

.askopis_form_header {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    padding: 28px 32px;
    position: relative;
}

.askopis_form_header h2 {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.3;
}

.askopis_form_header p {
    color: #e0f2fe;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.askopis_form_body {
    padding: 32px;
}

.askopis_form_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.askopis_form_field {
    display: flex;
    flex-direction: column;
}

.askopis_field_full {
    grid-column: 1 / -1;
}

.askopis_form_field label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.askopis_form_field label .req {
    color: #e11d48;
}

.askopis_input_wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.askopis_input_icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

.askopis_form_field input[type="text"],
.askopis_form_field input[type="email"],
.askopis_form_field input[type="tel"],
.askopis_form_field select {
    width: 100% !important;
    height: 46px;
    padding: 10px 14px 10px 40px !important;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: inherit;
}

.askopis_form_field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}

.askopis_form_field input:focus,
.askopis_form_field select:focus {
    background: #ffffff;
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.askopis_field_hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
    line-height: 1.4;
}

/* Upload Box */
.askopis_upload_dropzone {
    border: 2px dashed #94a3b8;
    background: #f8fafc;
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.askopis_upload_dropzone:hover,
.askopis_upload_dropzone.is_dragover {
    border-color: #0284c7;
    background: #f0f9ff;
}

.askopis_upload_dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.askopis_upload_icon {
    font-size: 36px;
    color: #0284c7;
    margin-bottom: 8px;
    display: inline-block;
}

.askopis_upload_text {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
}

.askopis_upload_subtext {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.askopis_file_selected {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
}

.askopis_file_info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.askopis_file_remove {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Checkbox Statement */
.askopis_checkbox_wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 24px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.askopis_checkbox_wrap input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #0284c7;
    cursor: pointer;
    flex-shrink: 0;
}

.askopis_checkbox_wrap span {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

/* Button Submit */
.askopis_submit_btn {
    width: 100%;
    min-height: 50px;
    height: auto;
    padding: 12px 20px;
    background: #0284c7;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    text-align: center;
    box-sizing: border-box;
}

.askopis_submit_btn i {
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
}

.askopis_submit_btn span {
    display: inline-block;
    line-height: 1.3;
}

.askopis_submit_btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.askopis_submit_btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Alerts & Messages */
.askopis_alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.askopis_alert_danger {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.askopis_alert_success {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    color: #166534;
}

/* Alert & Success Notification Styles */
.askopis_success_wrapper {
    border: 1px solid #bfdbfe;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
}

.askopis_success_header {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    color: #ffffff;
    padding: 32px 32px 28px;
    text-align: center;
}

.askopis_header_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.askopis_success_header h2 {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.askopis_success_header p {
    color: #e0f2fe;
    font-size: 14px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.5;
}

.askopis_success_body {
    padding: 32px;
}

/* Alert Verifikasi Admin */
.askopis_verification_alert {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 28px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.05);
}

.askopis_verif_icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fef3c7;
    color: #d97706;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: askopisPulse 2s infinite ease-in-out;
}

@keyframes askopisPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.askopis_verif_content {
    flex: 1;
}

.askopis_verif_title {
    font-size: 16px;
    font-weight: 800;
    color: #92400e;
    margin: 0;
    line-height: 1.4;
}

.askopis_verif_desc {
    display: none;
}

/* Timeline / Workflow Tracker */
.askopis_workflow_tracker {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
    padding: 10px 0;
}

.askopis_workflow_tracker::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 45px;
    right: 45px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.askopis_step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.askopis_step_circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 8px;
    background: #ffffff;
    border: 2.5px solid #cbd5e1;
    color: #94a3b8;
    box-shadow: 0 0 0 4px #ffffff;
    transition: all 0.3s ease;
}

.askopis_step.completed .askopis_step_circle {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.askopis_step.active .askopis_step_circle {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
    box-shadow: 0 0 0 4px #fef3c7;
}

.askopis_step.future .askopis_step_circle {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #94a3b8;
}

.askopis_step_label {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.askopis_step_label strong {
    font-size: 13px;
    color: #0f172a;
}

.askopis_step_label span {
    font-size: 11px;
    color: #64748b;
}

.askopis_step_highlight {
    color: #d97706 !important;
    font-weight: 700;
}

/* Summary Card */
.askopis_summary_card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 24px;
}

.askopis_summary_card_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 18px;
}

.askopis_summary_card_header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.askopis_summary_card_header h4 i {
    color: #0284c7;
}

.askopis_reg_badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.askopis_summary_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.askopis_summary_item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.askopis_item_full {
    grid-column: 1 / -1;
    padding-top: 6px;
    border-top: 1px dashed #e2e8f0;
}

.askopis_summary_label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.askopis_summary_val {
    font-size: 14px;
    color: #1e293b;
    word-break: break-word;
}

.askopis_status_tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    width: fit-content;
}

.askopis_status_tag.pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Info Box */
.askopis_notice_box_info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 28px;
}

.askopis_notice_info_icon {
    color: #0284c7;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.askopis_notice_info_text strong {
    font-size: 13px;
    color: #0369a1;
    display: block;
    margin-bottom: 4px;
}

.askopis_notice_info_text p {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
    margin: 0;
}

/* Action Buttons */
.askopis_success_actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.askopis_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.askopis_btn_primary {
    background: #0284c7;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.askopis_btn_primary:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.askopis_btn_secondary {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
}

.askopis_btn_secondary:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

/* Responsiveness */
@media screen and (max-width: 640px) {
    .askopis_form_header,
    .askopis_success_header {
        padding: 22px 18px;
    }
    .askopis_form_body,
    .askopis_success_body {
        padding: 20px 16px;
    }
    .askopis_form_grid,
    .askopis_summary_grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .askopis_verification_alert {
        flex-direction: column;
        gap: 12px;
    }
    .askopis_workflow_tracker {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }
    .askopis_workflow_tracker::before {
        display: none;
    }
    .askopis_step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
    }
    .askopis_step_circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .askopis_success_actions {
        flex-direction: column;
    }
    .askopis_btn {
        width: 100%;
    }
    .askopis_submit_btn {
        font-size: 15px;
        min-height: 48px;
        padding: 12px 16px;
        gap: 8px;
    }
    .askopis_submit_btn i {
        font-size: 15px;
    }
}
