/* Choose categories page (part of profile page(?) */
/* === Modern Category Checkbox Grid === */
/* === Job Category Alert Form === */



.job_alert_title {
	grid-column: 1/-1; 
	grid-row: 2; 

  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.25rem;
        line-height: 2.5rem;
		padding: 0 !important; 
		margin: 0 !important; 
}

/* Hide default <br> elements if present */
.job_alert_categories br {
  display: none;
}

/* Hide raw checkboxes */
.job_alert_categories input[type="checkbox"] {
  display: none;
}

/* Make .job_alert_categories a grid */
.job_alert_categories {
	grid-column: 1/-1; 
	grid-row: 4; 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem 1.5rem;
  padding: 0.5rem 0;
  justify-items: stretch;
  width: 100%; 
}

.job_alert_categories label {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease-in-out;
}


/* Container per item */
.checkbox-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide the checkbox */
.checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.checkbox-item {
  display: contents; /* this lets the grid take full control */
}

.checkbox-item {
  display: flex;
  justify-content: center;
}


/* Style the label as a button */
.checkbox-item label {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

/* Hover effect */
.checkbox-item label:hover {
  background-color: #e0e7ff;
  border-color: #6366f1;
}

/* When checkbox is checked */
.checkbox-item input[type="checkbox"]:checked + label {
  background-color: #6366f1;
  color: white;
  border-color: #4f46e5;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}


/* Submit button style */
.profil_indhold_jobalert input[type="submit"] {
	grid-column: 1/-1; 
	grid-row: 14; 

  display: block;
  width: 50%;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #fff; /* Default text color */
  background-color: rgba(64, 62, 67, 1) !important; /* Default background */
  border-radius: 15px !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; /* Subtle shadow */
  cursor: pointer;
  transition: transform 0.25s ease, 
              font-size 0.25s ease,
              background-color 0.25s ease,
              box-shadow 0.25s ease,
              color 0.25s ease !important;
  font-family: ui-sans-serif, system-ui, sans-serif, 
               "Apple Color Emoji", "Segoe UI Emoji", 
               "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.profil_indhold_jobalert input[type="submit"]:hover {
  background-color: rgba(70, 68, 72, 1) !important; /* Darker on hover */
  color: #fff !important; 
  transform: scale(1.05); /* Slight zoom in */
  font-size: 0.95rem; /* Slightly larger text */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important; /* Stronger shadow */
}



.hidden {
  display: none;
}

.alert-success {
  margin-top: 20px;
  padding: 15px;
  background-color: #e6fffa;
  border: 1px solid #38b2ac;
  color: #285e61;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}






:root{
  --card-bg: #ffffff;
  --card-border: #e6e8f0;
  --card-shadow: 0 4px 14px rgba(20, 20, 43, 0.06);
  --card-hover-shadow: 0 10px 24px rgba(20, 20, 43, 0.12);
  --card-radius: 18px;
  --card-pad: 20px;
  --text-main: #0f172a;
  --text-sub: #5b6475;
  --brand: #2f5aff;   /* active blue */
  --brand-ghost: rgba(47,90,255,0.12);
  --page-gap: 22px;   /* default grid gap */
}

/* grid */
.category-grid{
  /* remove the forced placement that can collide with a parent grid */
  grid-column: 1/-1; 
  grid-row: 8;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: max(5px, var(--page-gap)); /* ≥ 5px both directions */
}


/* prevent cards from exceeding their column width */
.category-card{
  position: relative;
  min-width: 0;            /* KEY: allow shrinking inside grid cell */
}
.category-card .card{
  width: 100%;
  box-sizing: border-box;  /* include padding in width */
  min-width: 0;            /* extra safety */
}

/* allow long text to wrap instead of expanding the card */
.card-title,
.card-desc{
  overflow-wrap: anywhere;
  word-break: break-word;
}



/* hide native checkbox but keep it accessible */
.card-input{
  position: absolute !important;
  opacity: 0 !important;
  width: 0;
  height: 0;
  pointer-events: none;
}



/* the clickable card */
.category-card .card{
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  box-shadow: var(--card-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
  cursor: pointer;
  min-height: 150px;
  position: relative;
}

.category-card .card:hover{
  transform: translateY(-2px);
  box-shadow: var(--card-hover-shadow);
}

/* icon/title/desc */
.card-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-ghost);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 12px;
}

.card-title{
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card-desc{
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-sub);
}

/* check indicator */
.card-check{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid var(--card-border);
  background: #fff;
  display: inline-block;
  transition: all .18s ease;
}

/* inner check mark (drawn with pseudo) */
.card-check::after{
  content: "";
  position: absolute;
  width: 12px;
  height: 6px;
  border-left: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: rotate(-45deg);
  left: 5px;
  top: 7px;
}

/* focus state (keyboard) */
.card-input:focus + .card{
  outline: 3px solid var(--brand-ghost);
  outline-offset: 3px;
}

/* SELECTED styles */
.card-input:checked + .card{
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: var(--card-hover-shadow);
}

.card-input:checked + .card .card-title,
.card-input:checked + .card .card-desc{
  color: #fff;
}

.card-input:checked + .card .card-icon{
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.card-input:checked + .card .card-check{
  background: #fff;
  border-color: #fff;
}
.card-input:checked + .card .card-check::after{
  border-left-color: var(--brand);
  border-bottom-color: var(--brand);
}


.job_alert_manchet {
	grid-column: 1/-1; 
	grid-row: 4; 
	width: 60%; 
	text-align: center; 
	margin: 0 auto; 
font-size: 1.125rem;
        line-height: 1.75rem;
		color: rgb(75 85 99 / var(--tw-text-opacity, 1)); 
		font-weight: 400; 
}

.plan-box {
	grid-column: 1/-1; 
	grid-row: 6; 
  background: #f0f6ff;
  border: 1px solid #d9e5ff;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
  color: #1e2a50;
  line-height: 1.4;
}

.plan-box p {
  margin: 4px 0;
  text-align: center; 
}

.plan-icon {
  color: #1e40af; /* deep blue */
  margin-right: 6px;
  text-align: center; 
}

.plan-upgrade {
  margin-top: 4px;
  text-align: center; 
}

.upgrade-link {
  text-decoration: none;
  font-weight: 600;
  color: #6b21a8; /* purple */
  text-align: center; 
}

.upgrade-link:hover {
  text-decoration: underline;
}

.pro-badge {
  background: #7c3aed;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 4px;
}


/* ========= Timezone Availability (PRO) ========= */

.tz-section{
	grid-column: 1/-1; 
	grid-row: 10; 
  text-align: center;
  padding: 16px 0 24px;
}

.tz-title{
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px 0;
}

.tz-title-icon{
  font-size: 26px;
}

.tz-pro-pill{
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: #7c3aed; /* purple */
  padding: 4px 10px;
  border-radius: 999px;
  vertical-align: middle;
}

.tz-subtitle{
  margin: 0 auto 18px auto;
  max-width: 780px;
  color: #374151;
  font-size: 18px;
  line-height: 1.6;
}

/* Pro banner (pale yellow bar) */
.tz-pro-banner{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 10px auto 26px;
  max-width: 820px;
  background: #fff8e6;
  border: 1px solid #f5e1ac;
  color: #7a5a00;
  padding: 12px 16px;
  border-radius: 10px;
}

.tz-lock{
  font-size: 16px;
}

/* Upgrade card (big soft panel) */
.tz-upgrade-card{
  margin: 0 auto;
  max-width: 860px;
  padding: 40px 24px 28px;
  background: #ffffffcc;
  backdrop-filter: blur(2px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(20,20,43,0.08);
  border: 1px solid #eef1f7;
}

.tz-upgrade-icon{
  width: 74px;
  height: 74px;
  border-radius: 999px;
  margin: -62px auto 12px auto; /* bubble sits above the card */
  display: grid;
  place-items: center;
  font-size: 32px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 6px 18px rgba(124,58,237,0.35);
}

.tz-upgrade-title{
  margin: 6px 0 6px 0;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}

.tz-upgrade-text{
  margin: 0 auto 18px auto;
  max-width: 640px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.tz-upgrade-btn{
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(109,40,217,0.35);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.tz-upgrade-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(109,40,217,0.4);
}
.tz-upgrade-price{
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

/* Responsive tweaks */
@media (max-width: 640px){
  .tz-title{ font-size: 26px; }
  .tz-subtitle{ font-size: 16px; }
  .tz-upgrade-card{ padding: 32px 18px 24px; }
}


/* ========= Salary Expectations (PRO) ========= */

.se-section{
	grid-column: 1/-1; 
	grid-row: 12; 
  text-align: center;
  padding: 20px 0 28px;
}

.se-title{
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 0;
}
.se-title-icon{
  font-size: 26px;
}

.se-pro-pill{
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: #7c3aed; /* purple PRO pill to match others */
  padding: 4px 10px;
  border-radius: 999px;
  vertical-align: middle;
}

.se-subtitle{
  margin: 0 auto 18px auto;
  max-width: 820px;
  color: #374151;
  font-size: 18px;
  line-height: 1.6;
}

/* Pro banner (pale yellow bar) */
.se-pro-banner{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 10px auto 26px;
  max-width: 860px;
  background: #fff8e6;
  border: 1px solid #f5e1ac;
  color: #7a5a00;
  padding: 12px 16px;
  border-radius: 10px;
}
.se-lock{ font-size: 16px; }

/* Upgrade card (soft panel, green theme) */
.se-upgrade-card{
  margin: 0 auto;
  max-width: 900px;
  padding: 42px 24px 30px;
  background: #ffffffcc;
  border-radius: 20px;
  border: 1px solid #eef1f7;
  box-shadow: 0 10px 30px rgba(20,20,43,0.08);
}

.se-upgrade-icon{
  width: 78px;
  height: 78px;
  border-radius: 999px;
  margin: -64px auto 12px auto;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: #fff;
  background: linear-gradient(135deg, #059669, #047857); /* green */
  box-shadow: 0 6px 18px rgba(5,150,105,0.35);
  font-weight: 900;
}

.se-upgrade-title{
  margin: 6px 0 8px 0;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}

.se-upgrade-text{
  margin: 0 auto 18px auto;
  max-width: 660px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.se-upgrade-btn{
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(16,185,129,0.35);
  transition: transform .16s ease, box-shadow .16s ease;
}
.se-upgrade-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16,185,129,0.42);
}

.se-upgrade-price{
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

/* Responsive tweaks */
@media (max-width: 640px){
  .se-title{ font-size: 26px; }
  .se-subtitle{ font-size: 16px; }
  .se-upgrade-card{ padding: 34px 18px 24px; }
}
