* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', Arial, sans-serif; }
body { background-color: #f4f7f6; padding: 40px 20px; display: flex; justify-content: center; }
.main-wrapper { width: 100%; max-width: 750px; }

.top-banner { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); border: none; margin-bottom: 25px; }
.main-title { text-align: center; font-size: 24px; color: #111827; margin-bottom: 10px; line-height: 1.3; }
.main-subtitle { text-align: center; font-size: 14px; color: #6b7280; margin-bottom: 30px; line-height: 1.5; }

.progress-track { background: #e5e7eb; height: 6px; width: 100%; border-radius: 10px; margin-bottom: 10px; }
.progress-fill { background: #3b82f6; height: 100%; border-radius: 10px; transition: width 0.4s ease; }
.step-text { font-size: 13px; color: #6b7280; font-weight: 500; margin-bottom: 20px; }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.form-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 30px; margin-bottom: 20px; position: relative; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.step-badge { background: #3b82f6; color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 14px; margin-bottom: 15px; }
.section-title { font-size: 18px; color: #1f2937; margin-bottom: 20px; }
.input-grid { display: flex; flex-direction: column; gap: 20px; }

label { display: block; margin-bottom: 8px; color: #374151; font-size: 13px; font-weight: 600; }
.req { color: #ef4444; }

/* ম্যাজিক: font-size 16px দিলে আইফোনে অটো-জুম হবে না */
input, select, textarea { width: 100%; max-width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1.5px solid #d1d5db; border-radius: 8px; font-size: 16px; background: #fdfdfd; transition: all 0.3s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #3b82f6; background: #ffffff; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
textarea { resize: vertical; }

/* আইফোনে ডেট বক্সের ডিজাইন ঠিক রাখার জন্য */
input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 50px; background: #fdfdfd; }

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.error-msg { color: #ef4444; font-size: 12px; margin-top: 5px; display: block; font-weight: 500;}
.input-error { border-color: #ef4444 !important; background: #fef2f2 !important; }

.btn-container { display: flex; justify-content: flex-end; }
.next-btn { background: #3b82f6; color: white; padding: 12px 30px; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.3s; width: auto; }
.next-btn:hover { background: #2563eb; }
.back-btn { background: #e5e7eb; color: #374151; padding: 12px 25px; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.back-btn:hover { background: #d1d5db; }

.file-upload-box { border: 2px dashed #cbd5e1; border-radius: 8px; padding: 40px 20px; text-align: center; cursor: pointer; position: relative; background: #f8fafc; transition: all 0.3s ease; }
.file-upload-box:hover { border-color: #3b82f6; background: #eff6ff; }
.file-upload-box input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.payment-info-box { background-color: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 20px; margin-top: 10px; }
.copy-btn { background: #e2e8f0; border: none; padding: 6px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; color: #475569; cursor: pointer; margin-left: 10px; transition: 0.3s; }
.copy-btn:hover { background: #cbd5e1; color: #0f172a; }

.radio-group-horizontal { display: flex; gap: 15px; }
.radio-group-horizontal input[type="radio"] { display: none; }
.radio-group-horizontal label { flex: 1; text-align: center; padding: 15px 10px; border: 2px solid #e2e8f0; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px; color: #475569; transition: all 0.3s ease; background: #f8fafc; }
.radio-group-horizontal input[type="radio"]:checked + label { border-color: #3b82f6; background: #eff6ff; color: #1e40af; box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15); }

.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1000; justify-content: center; align-items: center; padding: 20px; }
.modal-box { background: white; padding: 25px; border-radius: 12px; text-align: center; max-width: 320px; width: 100%; box-shadow: 0 10px 25px rgba(0,0,0,0.2); animation: popUpAnim 0.3s ease-out forwards; }
@keyframes popUpAnim { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-icon { font-size: 50px; margin-bottom: 10px; }
.modal-box p { color: #475569; margin-bottom: 20px; font-size: 14px; line-height: 1.5; }
.modal-btn-group { display: flex; gap: 10px; justify-content: center; }
.cancel-btn, .proceed-btn { border: none; padding: 12px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; flex: 1; }
.cancel-btn { background: #f1f5f9; color: #475569; }
.proceed-btn { background: #3b82f6; color: white; }

@media (max-width: 600px) {
    body { padding: 15px 10px; } 
    .top-banner { height: 160px; } 
    .main-title { font-size: 20px; } 
    .form-card { padding: 20px; } 
    .radio-group-horizontal { flex-direction: column; gap: 10px; }
}

/* ========================================= */
/* Dashboard Extra Styles (Thumbnail & Delete Button) */
/* ========================================= */
.thumbnail-img { 
    width: 45px; 
    height: 45px; 
    object-fit: cover; 
    border-radius: 6px; 
    cursor: pointer; 
    border: 2px solid #e2e8f0; 
    transition: 0.3s; 
    vertical-align: middle; 
    margin-right: 8px; 
}
.thumbnail-img:hover { 
    transform: scale(1.1); 
    border-color: #3b82f6; 
}

.delete-btn { 
    background: #ef4444; 
    color: white; 
    border: none; 
    padding: 6px 12px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 12px; 
    font-weight: bold; 
    transition: 0.3s; 
}
.delete-btn:hover { background: #dc2626; }