/*
Theme Name:  GetResumeWise Child
Description: Child theme for GetResumeWise — overrides Twenty Twenty-Five styles.
Template:    twentytwentyfive
Version:     1.0.3
Author:      GetResumeWise
*/

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* =========================================================
   NAV LINKS
   ========================================================= */
.wp-block-navigation a {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
  padding: 8px 14px !important;
  border-radius: 10px !important;
  transition: color .18s, background .18s !important;
}
.wp-block-navigation a:hover {
  color: #2563eb !important;
  background: #eff6ff !important;
}

/* =========================================================
   SITE TITLE
   ========================================================= */
.wp-block-site-title a {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
  background: linear-gradient(135deg, #0f172a 30%, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* =========================================================
   STICKY GLASS HEADER
   ========================================================= */
header.wp-block-template-part,
.wp-block-template-part header {
  background: rgba(255,255,255,.93) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

/* Hide page title on front page */
.home .entry-title,
.home .wp-block-post-title,
.page-template-default.home h1.entry-title {
  display: none !important;
}

/* =========================================================
   RESUME ANALYZE SECTION — override 8-bit plugin styles
   ========================================================= */

/* Kill the retro font import */
.resumewise-container *,
#resumewise_upload_field *,
#subscriber-resume-form * {
  font-family: 'Inter', system-ui, sans-serif !important;
}

/* Main card */
.resumewise-container {
  max-width: 680px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 24px rgba(37,99,235,.07), 0 1px 4px rgba(0,0,0,.04) !important;
  padding: 2.5rem !important;
}

/* Headings inside container */
.resumewise-container h1,
.resumewise-container h2,
.resumewise-container h3,
#resumewise_upload_field h3 {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  color: #0f172a !important;
  text-transform: none !important;
  margin-bottom: .5rem !important;
}

.resumewise-container > p {
  color: #64748b !important;
  font-size: .925rem !important;
  margin-bottom: 1.75rem !important;
}

/* Drop zone */
.upload-area {
  border: 2px dashed #cbd5e1 !important;
  border-radius: 14px !important;
  padding: 2rem 1.5rem !important;
  text-align: center !important;
  cursor: pointer !important;
  background: #f8fafc !important;
  transition: border-color .2s, background .2s !important;
  box-shadow: none !important;
  margin-bottom: 1rem !important;
}
.upload-area:hover,
.upload-area.drag-over {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  box-shadow: none !important;
}
.upload-area i {
  font-size: 2rem !important;
  color: #2563eb !important;
  margin-bottom: .5rem !important;
}
.upload-area p {
  color: #475569 !important;
  font-size: .9rem !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}

/* Selected file name */
#selectedFileName {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .85rem !important;
  color: #2563eb !important;
  margin-bottom: 1.25rem !important;
}

/* Job description label */
.resumewise-container label {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  color: #374151 !important;
}
.resumewise-container label span {
  font-weight: 400 !important;
  color: #94a3b8 !important;
}

/* Textarea */
.resumewise-container textarea {
  width: 100% !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: .75rem 1rem !important;
  font-size: .9rem !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  color: #1e293b !important;
  background: #f8fafc !important;
  resize: vertical !important;
  box-shadow: none !important;
  transition: border-color .18s !important;
  margin: .4rem 0 1.25rem !important;
  box-sizing: border-box !important;
}
.resumewise-container textarea:focus {
  outline: none !important;
  border-color: #2563eb !important;
  background: #fff !important;
}

/* Analyze button */
.resumewise-container button,
#freeAnalyzeBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: .75rem 2rem !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  text-transform: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(37,99,235,.25) !important;
  transition: opacity .18s, transform .18s !important;
  letter-spacing: 0 !important;
}
.resumewise-container button:hover,
#freeAnalyzeBtn:hover {
  opacity: .9 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(37,99,235,.3) !important;
}
.resumewise-container button:active,
#freeAnalyzeBtn:active {
  transform: translateY(0) !important;
}

/* Results panel */
#freeResult {
  margin-top: 1.5rem !important;
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  border-left: 4px solid #2563eb !important;
  border-radius: 10px !important;
  padding: 1.25rem 1.5rem !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .9rem !important;
  color: #0f172a !important;
}

/* =========================================================
   CHECKOUT UPLOAD FIELD
   ========================================================= */
#resumewise_upload_field {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 1.5rem !important;
  margin: 1.25rem 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   SUBSCRIBER DASHBOARD
   ========================================================= */
#subscriber-resume-form {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 1.75rem !important;
  margin-top: 1.25rem !important;
}
#subscriber-resume-form input[type="file"] {
  font-family: 'Inter', system-ui, sans-serif !important;
  background: #fff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: .4rem .75rem !important;
}
#subscriber-resume-form button {
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(37,99,235,.25) !important;
  color: #fff !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  padding: .7rem 1.75rem !important;
}
#subscriber-resume-form button:hover {
  opacity: .9 !important;
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
  box-shadow: 0 4px 16px rgba(37,99,235,.3) !important;
}

/* =========================================================
   LAYOUT — remove auto block-gap spacing on front page
   ========================================================= */
main.wp-block-group {
  margin-top: 0 !important;
}
main.wp-block-group > .wp-block-group.alignfull {
  padding-top: 0 !important;
}
.grw-page {
  margin-top: 0 !important;
}

/* =========================================================
   HIDE TT5 DEFAULT FOOTER + WC MINI-CART
   ========================================================= */
.wp-site-blocks > div.wp-block-template-part {
  display: none !important;
}
.wc-block-mini-cart,
.wc-block-customer-account {
  display: none !important;
}
