/* Master of Tech Solution — public styles */
.mots-container { max-width: 1200px; margin: 0 auto; padding: 30px 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1a1a1a; }
.mots-container *, .mots-container *::before, .mots-container *::after { box-sizing: border-box; }

.mots-h1 { font-size: 32px; font-weight: 700; margin: 0 0 10px; line-height: 1.2; color: #0d1b2a; }
.mots-lead { font-size: 17px; color: #555; margin: 0 0 20px; line-height: 1.5; }
.mots-back { display: inline-block; margin-bottom: 14px; color: #1a73e8; text-decoration: none; font-weight: 500; }
.mots-back:hover { text-decoration: underline; }

.mots-section-head { text-align: center; margin-bottom: 36px; }

/* Buttons */
.mots-btn { display: inline-block; padding: 12px 24px; border: none; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; transition: transform .1s, box-shadow .15s, background .15s; line-height: 1.2; }
.mots-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.mots-btn-primary { background: #1a73e8; color: #fff; }
.mots-btn-primary:hover { background: #1557b0; color: #fff; }
.mots-btn-success { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; }
.mots-btn-success:hover { background: linear-gradient(135deg, #15803d, #16a34a); color: #fff; }
.mots-btn-outline { background: transparent; color: #1a73e8; border: 2px solid #1a73e8; }
.mots-btn-outline:hover { background: #1a73e8; color: #fff; }
.mots-btn-block { display: block; width: 100%; }
.mots-btn-large { padding: 16px 28px; font-size: 17px; }
.mots-btn-sm { display: inline-block; padding: 5px 12px; font-size: 13px; font-weight: 600; border-radius: 4px; text-decoration: none; margin-right: 4px; }
.mots-btn-sm.mots-btn-primary { background: #1a73e8; color: #fff; }
.mots-btn-sm.mots-btn-outline { background: transparent; color: #1a73e8; border: 1px solid #1a73e8; }

/* Alerts */
.mots-alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; border-left: 4px solid; font-size: 15px; }
.mots-alert-success { background: #e6f4ea; border-color: #34a853; color: #137333; }
.mots-alert-warn { background: #fef7e0; border-color: #f9ab00; color: #b06000; }
.mots-alert-info { background: #e8f0fe; border-color: #1a73e8; color: #174ea6; }

.mots-empty, .mots-empty-card { text-align: center; padding: 40px; background: #f8f9fa; border-radius: 8px; color: #666; }

/* Cards */
.mots-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 18px; overflow: hidden; }
.mots-tab-head { background: #0d1b2a; color: #fff; padding: 12px 20px; font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.mots-card-body { padding: 22px; }

/* Forms */
.mots-form-row { margin-bottom: 16px; }
.mots-form-row label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: #333; }
.mots-form-row input[type=text], .mots-form-row input[type=email], .mots-form-row input[type=password], .mots-form-row select, .mots-form-row textarea { width: 100%; padding: 11px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px; font-family: inherit; background: #fff; }
.mots-form-row input:focus, .mots-form-row select:focus, .mots-form-row textarea:focus { outline: none; border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .15); }
.mots-form-row small { display: block; color: #777; font-size: 12px; margin-top: 5px; }

.mots-toggle-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; }
.mots-toggle-row input { width: 18px; height: 18px; }

/* Products grid */
.mots-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.mots-product-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.mots-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .1); }
.mots-product-image { display: block; height: 200px; overflow: hidden; background: #f3f4f6; }
.mots-product-image img { width: 100%; height: 100%; object-fit: cover; }
.mots-product-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 60px; font-weight: 800; color: #1a73e8; background: linear-gradient(135deg, #e8f0fe, #d2e3fc); }
.mots-product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.mots-product-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.mots-product-title a { color: inherit; text-decoration: none; }
.mots-product-title a:hover { color: #1a73e8; }
.mots-product-desc { color: var(--mots-text-muted, #666); font-size: 14px; margin: 0 0 12px; line-height: 1.5; }
.mots-product-price { margin: 8px 0 14px; }
.mots-price-old { color: var(--mots-text-faint, #888); text-decoration: line-through; font-size: 14px; margin-right: 8px; }
.mots-price-current { color: #16a34a; font-size: 22px; font-weight: 800; }
.mots-product-features { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.mots-product-features li { padding: 4px 0; font-size: 13px; color: var(--mots-text-muted, #555); }

/* Single product */
.mots-product-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; margin-top: 20px; }
.mots-product-banner { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: 10px; margin-bottom: 20px; }
.mots-product-description { color: var(--mots-text, #333); line-height: 1.7; font-size: 16px; }
.mots-product-description p { margin: 0 0 14px; color: inherit; }
.mots-product-description h1, .mots-product-description h2, .mots-product-description h3,
.mots-product-description h4, .mots-product-description h5, .mots-product-description h6 { color: inherit; }
.mots-product-description strong, .mots-product-description b { color: inherit; }
.mots-product-description li { color: inherit; }
.mots-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.mots-price-current-big { font-size: 32px; font-weight: 800; color: #16a34a; }
.mots-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 0; border-top: 1px dashed var(--mots-border, #e5e7eb); border-bottom: 1px dashed var(--mots-border, #e5e7eb); margin-bottom: 16px; }
.mots-meta div { font-size: 14px; color: var(--mots-text, #333); }
.mots-meta span { color: var(--mots-text-muted, #777); font-size: 13px; }
.mots-feature-list { list-style: none; padding: 0; margin: 0 0 16px; }
.mots-feature-list li { padding: 6px 0; font-size: 14px; color: var(--mots-text, #333); border-bottom: 1px dashed var(--mots-border-faint, #f0f0f0); }
.mots-feature-list li:last-child { border-bottom: 0; }
.mots-addons-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--mots-text-muted, #666); margin: 18px 0 10px; }
.mots-addon-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border: 1px solid var(--mots-border, #e5e7eb); border-radius: 6px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s; }
.mots-addon-row:hover { border-color: #1a73e8; }
.mots-addon-row input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.mots-addon-label { flex: 1; color: var(--mots-text, #333); }
.mots-addon-label strong { display: block; font-size: 14px; }
.mots-addon-label small { display: block; color: #777; font-size: 12px; margin-top: 2px; }
.mots-addon-price { font-weight: 700; color: #16a34a; font-size: 14px; white-space: nowrap; }

/* Checkout */
.mots-checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 20px; }
.mots-coupon-row { display: flex; gap: 8px; }
.mots-coupon-row input { flex: 1; padding: 11px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px; }
.mots-coupon-msg { margin-top: 8px; font-size: 13px; }
.mots-coupon-msg.success { color: #16a34a; }
.mots-coupon-msg.error { color: #d93025; }
.mots-pay-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid #e5e7eb; border-radius: 6px; margin-bottom: 8px; cursor: pointer; }
.mots-pay-row input { margin-top: 4px; }
.mots-pay-row span { flex: 1; }
.mots-pay-row span strong { display: block; }
.mots-pay-row span small { display: block; color: #777; font-size: 13px; margin-top: 2px; }
.mots-summary-product { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed #e5e7eb; margin-bottom: 14px; }
.mots-summary-product img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.mots-summary-product strong { display: block; font-size: 15px; }
.mots-summary-product small { display: block; color: #777; font-size: 12px; }
.mots-summary-rows hr { border: 0; border-top: 1px solid #e5e7eb; margin: 8px 0; }
.mots-summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.mots-summary-row.mots-summary-total { font-size: 19px; font-weight: 800; color: #0d1b2a; padding: 8px 0; }
.mots-secure { text-align: center; color: #777; font-size: 12px; margin-top: 10px; }

/* Thank you */
.mots-thankyou { display: flex; justify-content: center; }
.mots-thankyou-card { background: #fff; padding: 40px; border-radius: 12px; max-width: 600px; text-align: center; box-shadow: 0 8px 28px rgba(0, 0, 0, .06); }
.mots-thankyou-icon { width: 70px; height: 70px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 36px; line-height: 70px; margin: 0 auto 18px; font-weight: 700; }
.mots-thankyou-card h1 { color: #16a34a; }
.mots-thankyou-card .mots-summary-rows { text-align: left; margin: 24px 0; padding: 18px; background: #f8f9fa; border-radius: 8px; }
.mots-next-steps { background: #fff8e1; border-left: 4px solid #f9ab00; padding: 20px; margin: 24px 0; border-radius: 6px; text-align: left; }
.mots-next-steps h3 { margin: 0 0 8px; }

/* Dashboard */
.mots-dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }
.mots-dash-tabs { display: flex; gap: 4px; border-bottom: 2px solid #e5e7eb; margin-bottom: 22px; flex-wrap: wrap; }
.mots-dash-tab { background: transparent; border: 0; padding: 12px 20px; cursor: pointer; font-size: 15px; font-weight: 600; color: #666; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.mots-dash-tab.active { color: #1a73e8; border-bottom-color: #1a73e8; }
.mots-dash-pane { display: none; }
.mots-dash-pane.active { display: block; }
.mots-table-wrap { overflow-x: auto; background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; }
.mots-table { width: 100%; border-collapse: collapse; }
.mots-table th { background: #f8f9fa; text-align: left; padding: 12px 14px; font-size: 13px; font-weight: 700; color: #555; border-bottom: 1px solid #e5e7eb; }
.mots-table td { padding: 14px; border-bottom: 1px solid #f0f0f0; font-size: 14px; vertical-align: middle; }
.mots-actions { white-space: nowrap; }
.mots-hostings { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; }
.mots-hosting-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.mots-hosting-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #f8f9fa; border-bottom: 1px solid #e5e7eb; }
.mots-hosting-head h3 { margin: 0; font-size: 17px; }
.mots-hosting-body { padding: 20px; }
.mots-hosting-meta { margin-bottom: 14px; }
.mots-hosting-meta div { padding: 4px 0; font-size: 14px; }
.mots-hosting-meta span { color: #777; font-size: 13px; }
.mots-hosting-meta small { color: #888; font-size: 12px; margin-left: 6px; }
.mots-hosting-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Onboarding */
.mots-onboarding-form { max-width: 800px; margin-top: 16px; }

/* Tickets */
.mots-ticket-head { margin-bottom: 18px; }
.mots-meta-line { color: #666; font-size: 14px; }
.mots-messages { display: flex; flex-direction: column; gap: 14px; max-height: 600px; overflow-y: auto; padding: 18px; background: #f8f9fa; border-radius: 10px; margin-bottom: 18px; }
.mots-msg { padding: 14px 16px; border-radius: 10px; max-width: 80%; word-wrap: break-word; }
.mots-msg-customer { align-self: flex-end; background: #1a73e8; color: #fff; }
.mots-msg-customer .mots-msg-head small { color: rgba(255, 255, 255, .8); }
.mots-msg-admin { align-self: flex-start; background: #fff; border: 1px solid #e5e7eb; }
.mots-msg-system { align-self: center; background: #fef7e0; color: #6b4f00; font-size: 13px; max-width: 90%; text-align: center; }
.mots-msg-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 13px; }
.mots-msg-head small { color: #666; font-size: 12px; }
.mots-msg-body { font-size: 14px; line-height: 1.5; }
.mots-msg-body p { margin: 0 0 6px; }
.mots-msg-atts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mots-att { display: inline-block; padding: 6px 10px; background: rgba(0, 0, 0, .08); border-radius: 5px; font-size: 13px; text-decoration: none; color: inherit; }
.mots-msg-customer .mots-att { background: rgba(255, 255, 255, .25); color: #fff; }
.mots-att-img { padding: 2px; }
.mots-att-img img { max-width: 120px; max-height: 120px; border-radius: 4px; display: block; }
.mots-reply-form { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; }
.mots-reply-form textarea { width: 100%; padding: 11px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px; resize: vertical; font-family: inherit; }
.mots-reply-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; flex-wrap: wrap; gap: 10px; }

.mots-login-wrap { max-width: 380px; margin: 30px auto; padding: 28px; background: #fff; border-radius: 10px; border: 1px solid #e5e7eb; }
.mots-login-wrap input[type=text], .mots-login-wrap input[type=password] { width: 100%; padding: 10px; margin: 6px 0; border: 1px solid #d1d5db; border-radius: 6px; }
.mots-login-wrap input[type=submit] { background: #1a73e8; color: #fff; padding: 11px; border: 0; border-radius: 6px; cursor: pointer; width: 100%; font-size: 15px; font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
    .mots-product-layout, .mots-checkout-grid { grid-template-columns: 1fr; }
    .mots-h1 { font-size: 26px; }
    .mots-msg { max-width: 95%; }
}
@media (max-width: 600px) {
    .mots-container { padding: 18px 14px; }
    .mots-card-body { padding: 16px; }
    .mots-meta { grid-template-columns: 1fr; }
    .mots-coupon-row { flex-direction: column; }
}
