/* ===== My Account pages — Store / Profile / Orders ===== */
.ma-page-head { margin-bottom: 22px; }
.ma-page-head h1, .ma-page-head h2 { font-size: 26px; font-weight: 800; color: #071e57; margin: 0 0 4px; letter-spacing: -0.3px; }
.ma-page-head p { font-size: 14px; color: #7a89a3; margin: 0; }

/* ---------- STORE ---------- */
.competitive-exams-section { background: #f6f8fc; padding: 34px 0 60px; margin-top: 0 !important; }
.competitive-exams-section .title { font-size: 24px; font-weight: 800; color: #071e57; letter-spacing: -0.3px; }

/* Left filter card */
.ma-filter-card { background: #fff; border: 1px solid #e9eef7; border-radius: 16px; padding: 22px; box-shadow: 0 6px 20px rgba(7,30,87,0.05); }
.ma-filter-card h5 { font-size: 16px; font-weight: 800; color: #071e57; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.ma-filter-card h5 i { color: #20a8ff; }
.ma-filter-card .ma-filter-sub { font-size: 13px; color: #7a89a3; margin-bottom: 18px; }
.ma-filter-card label { font-size: 13px; font-weight: 600; color: #071e57; margin-bottom: 8px; display: block; }
.ma-filter-card .form-select { height: 46px; border-radius: 11px; border: 1.5px solid #e4e9f2; font-size: 14px; color: #1f2d3d; padding: 0 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.ma-filter-card .form-select:focus { border-color: #20a8ff; box-shadow: 0 0 0 3px rgba(32,168,255,0.15); outline: none; }

/* Subcategory tabs */
.competitive-exams-section .nav--tab li { cursor: pointer; }
.competitive-exams-section .nav--tab li span { display: inline-block; padding: 9px 18px; border-radius: 30px; font-size: 13.5px; font-weight: 600; color: #5b6880; background: #fff; border: 1px solid #e4e9f2; transition: all .2s ease; white-space: nowrap; }
.competitive-exams-section .nav--tab li.active span { background: linear-gradient(135deg,#20a8ff,#1469c7); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(32,168,255,0.3); }
.competitive-exams-section .nav--tab li:hover span { border-color: #20a8ff; color: #1469c7; }
.competitive-exams-section .nav--tab li.active:hover span { color: #fff; }

/* Course cards — equal height + consistent gaps */
.competitive-exams-section .subcontent .row { row-gap: 0; }
.competitive-exams-section .subcontent .row > [class*="col-"] { display: flex; margin-bottom: 26px; }
.competitive-exams-section .content-box.d-block { width: 100%; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid #eef1f7; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(7,30,87,0.05); transition: transform .25s ease, box-shadow .25s ease; }
.competitive-exams-section .content-box.d-block:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(7,30,87,0.12); }
.competitive-exams-section .testbook-img { display: block; background: #f3f6fb; }
.competitive-exams-section .testbook-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.competitive-exams-section .testbook-content { padding: 14px 15px 16px !important; display: flex; flex-direction: column; flex: 1; }
.competitive-exams-section .testbook-content h6 { font-size: 14.5px; font-weight: 700; color: #071e57; line-height: 1.35; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.competitive-exams-section .testbook-content a { text-decoration: none; }
.competitive-exams-section .price { font-size: 17px; font-weight: 800; color: #1aa260; display: flex; align-items: center; gap: 7px; margin-top: auto; }
.competitive-exams-section .price .discount { color: #aab4c6; text-decoration: line-through; font-weight: 500; font-size: 13px; }
.competitive-exams-section .price .uil-rupee-sign { font-size: 15px; }

/* ---------- PROFILE ---------- */
.mainw_rapper { background: #f6f8fc; padding-bottom: 50px; }
.ma-profile-card { background: #fff; border: 1px solid #e9eef7 !important; border-radius: 16px !important; box-shadow: 0 6px 20px rgba(7,30,87,0.05); overflow: hidden; }
.ma-profile-side { text-align: center; }
.ma-profile-banner { background: linear-gradient(135deg, #071e57 0%, #1356b8 60%, #20a8ff 100%); height: 96px; }
.mainw_rapper .avatar-upload { margin-top: -56px; }
.mainw_rapper .avatar-preview > div, .mainw_rapper #showImage { border: 4px solid #fff; box-shadow: 0 8px 22px rgba(7,30,87,0.16); }
.mainw_rapper .main-body h4 { font-size: 19px; font-weight: 800; color: #071e57; margin-bottom: 2px; }
.mainw_rapper .text-secondary { color: #7a89a3 !important; }
.ma-profile-card .card-body h6 { font-size: 13.5px; font-weight: 700; color: #071e57; }
.mainw_rapper .form-control { height: 46px; border-radius: 11px; border: 1.5px solid #e4e9f2; font-size: 14px; color: #1f2d3d; padding: 0 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.mainw_rapper .form-control:focus { border-color: #20a8ff; box-shadow: 0 0 0 3px rgba(32,168,255,0.15); }
.mainw_rapper .form-control[readonly] { background: #f3f6fb; }
.mainw_rapper .btn1 { height: 46px; border: 0 !important; border-radius: 11px !important; background: linear-gradient(135deg,#ffc233,#ffb307) !important; color: #071e57 !important; font-weight: 700; font-size: 15px; box-shadow: 0 8px 20px rgba(255,179,7,0.32); transition: transform .2s ease, box-shadow .2s ease; }
.mainw_rapper .btn1:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,179,7,0.45); color: #071e57 !important; }
.ma-profile-field-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #8593ad; margin-bottom: 7px; }

/* ---------- ORDERS ---------- */
.ma-orders { background: #f6f8fc; padding: 34px 0 60px; min-height: 60vh; }
.ma-order-card { display: flex; gap: 16px; background: #fff; border: 1px solid #e9eef7; border-radius: 16px; padding: 16px; box-shadow: 0 5px 18px rgba(7,30,87,0.05); transition: transform .22s ease, box-shadow .22s ease; height: 100%; }
.ma-order-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7,30,87,0.1); }
.ma-order-thumb { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: #f3f6fb; border: 1px solid #eef1f7; }
.ma-order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ma-order-info { flex: 1; min-width: 0; }
.ma-order-name { font-size: 15.5px; font-weight: 800; color: #071e57; margin: 0 0 4px; line-height: 1.3; }
.ma-order-provide { font-size: 12.5px; color: #8593ad; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ma-order-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ma-order-meta .mi { font-size: 12.5px; color: #5b6880; }
.ma-order-meta .mi b { color: #071e57; font-weight: 600; }
.ma-order-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e7ecf5; }
.ma-order-amount { font-size: 18px; font-weight: 800; color: #071e57; }
.ma-order-amount span { font-size: 12px; font-weight: 600; color: #8593ad; display: block; }
.ma-order-badge { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 20px; background: #e9faf1; color: #1aa260; display: inline-flex; align-items: center; gap: 5px; }

/* Empty state */
.ma-empty { text-align: center; padding: 60px 20px; }
.ma-empty-ico { width: 84px; height: 84px; border-radius: 50%; background: #eef3fb; color: #20a8ff; font-size: 38px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ma-empty h3 { font-size: 20px; font-weight: 800; color: #071e57; margin: 0 0 8px; }
.ma-empty p { font-size: 14px; color: #7a89a3; margin: 0 0 20px; }
.ma-empty .btn-gold { display: inline-block; background: linear-gradient(135deg,#ffc233,#ffb307); color: #071e57; font-weight: 700; padding: 11px 26px; border-radius: 11px; text-decoration: none; box-shadow: 0 8px 20px rgba(255,179,7,0.32); transition: transform .2s ease; }
.ma-empty .btn-gold:hover { transform: translateY(-2px); color: #071e57; }

/* Responsive */
@media (max-width: 767px) {
    .competitive-exams-section .leftpannel { position: static !important; }
    .ma-order-card { flex-direction: column; }
    .ma-order-thumb { width: 100%; height: 150px; }
}
