.relpost-block-single{
    width:100%!important;
}
.relpost-block-single > div{
    width:100%!important;
    height:auto!important;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
}
.relpost-block-single > div > *{
    width:46%;
}
.relpost-block-single .relpost-block-single-image{
    width:48%!important;
    height:auto!important;
    padding-bottom:32%;
}
.relpost-block-single-text{
    font-size: 14px!important;
    font-family: Raleway, "Helvetica Neue", sans-serif !important;
    text-align:left;
    line-height:1.3;
}
@media only screen and (max-width: 1000px) {
.relpost-block-single .relpost-block-single-image {
    width: 48%!important;
    height: auto!important;
    padding-bottom: 20%;
}
}
#bottom1 .widget_custom_post_widget a{
    color: #27c1f4 !important;
    font-style:italic;
}
.widget_custom_post_widget a:hover{
    color:#000 !important;
}
#bottom-sidebar{
    padding:30px 0;
    margin-top:-70px;
}
.widget_custom_post_widget .aligncenter,.widget_custom_post_widget .wp-block-image {
    margin-bottom: 0px;
}
#banner-sidebar{
    max-width:1170px;
    margin:0px auto;
    width:100%;

  padding: 40px 40px 0;
}
#banner-sidebar img{
    border:none !important;
}
#banner-sidebar .widget_custom_post_widget{
    position:relative;
}
#banner-sidebar .featured-content{
    position: absolute;
    bottom: 0%;
    left: 0;
    background: rgba(0,0,0,0.2);
    width: 100%;
    padding: 20px 40px;
    color:#fff;
}
#banner-sidebar{
display:none;	
}
#banner-sidebar h2{
    color: #3fc9f5;
    max-width:400px
}
#banner_sidebar p{
    font-size:15px;
}
body.home #banner-sidebar{
    display:block;
}
body.single #banner-sidebar{
    display:block;
}
#banner-sidebar .wp-block-columns .wp-block-column:nth-child(1){
    width:40%;
    flex-basis: 40%;
}
#banner-sidebar .wp-block-columns .wp-block-column:nth-child(2) {
    width: 60%;
    flex-basis: 60%;
}
.mc4wp-form-fields input[type="submit"]{
    display:block;
background-color: #3fc9f5 !important;
    border: none !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: #ffffff !important;
    cursor: pointer;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    height: 40px;
    padding: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.mc4wp-form-fields input[type="submit"]:hover {
    background-color: #333333 !important;
}
/***Other H tags***/
h1{
    
}
h2{
    
}
h3{
    
}
h4{
    
}
/*****Site title*****/
#site-title{
    font-weight:normal;
    font-size: 50px;
}
/*****Post title*****/
h1.entry-title{
    font-size:32px;
}

/*****Banner Title*****/
#banner-sidebar h2{
    font-size:40px!important;
}
@media only screen and (min-width: 1100px) {


.slider-h2 > div{
    font-size:40px!important;
}

.slider-strong b{
    font-size:19px!important;
}
.slider-p p{
    font-size:16px !important;
}
.slider-btn a{
    letter-spacing:1px !important;
}
}
.heateorSssSharingArrow{
    display:none !important
}


.mds-gloss-popup {
  position: absolute;
  max-width: 320px;
  background: #f4fbff;
  border: 1px solid #cfdce6;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  font-size: 15px;
  line-height: 1.4;
  color: #2b2b2b;
  z-index: 99999;
  pointer-events: none;
}

.mds-gloss-popup strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}


/* ===== Yoast FAQ: clean collapsible + hover + chevron ===== */

.schema-faq-section{
  border-bottom: 1px solid #e6e6e6;
  padding: 10px 0;
  margin: 0;
}

.schema-faq-question{
  cursor: pointer;
  position: relative;
  padding: 14px 34px 14px 8px; /* left padding for hover feel; right padding for chevron */
  margin: 0;
  outline: none;
  transition: background-color .15s ease, padding-left .15s ease;
}

.schema-faq-question:hover,
.schema-faq-question:focus{
  background-color: rgba(0,0,0,.03);
  padding-left: 16px;
}

/* Chevron */
.schema-faq-question::after {
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1;
  opacity: .65;
  transition: transform .15s ease, opacity .15s ease;
}


/* Answer collapse */
.schema-faq-answer{
  display: none;
  padding: 0 8px 14px 8px;
  margin: 0;
}

.schema-faq-section.open .schema-faq-answer{
  display: block;
}

.schema-faq-section.open .schema-faq-question::after{
  transform: translateY(-50%) rotate(180deg);
  opacity: .9;
}






/* Symptom Tracker Splash Form - Updated: Tighten Guest Note, Sign In No Bg/Border, Black Text in White Fields */

/* Scoped to .mds-splash-form */
.mds-splash-form {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Space between sections */
    background: transparent; /* No background */
    font-family: 'Merriweather', serif; /* Merriweather font */
}

/* Individual sections: white rounded borders only */
.mds-section {
    border: 1px solid #fff; /* White border */
    border-radius: 10px;
    padding: 15px;
    background: transparent; /* No background fill */
    color: #fff; /* White text */
}

/* Inputs: white background, black text (as in last good version) */
.mds-section input[type="text"],
.mds-section input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 0 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle white border */
    border-radius: 5px;
    background: #fff; /* White background */
    color: #000; /* Black text inside */
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Merriweather', serif; /* Merriweather */
}

.mds-section input::placeholder {
    color: #666; /* Gray placeholder */
}

/* Rollover button sections (for Register and Continue) */
.mds-button-section {
    border: 1px solid #fff; /* White border */
    border-radius: 10px;
    padding: 15px;
    background: transparent;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #fff;
    font-size: 16px;
    font-family: 'Merriweather', serif; /* Merriweather */
}

.mds-button-section:hover {
    background: rgba(255, 255, 255, 0.1); /* Light white rollover */
}

/* Sign in: no background, white text, rollover like sections, no border */
.mds-section .button {
    width: 100%;
    padding: 10px;
    margin: 10px 0 0;
    border: none; /* No border */
    border-radius: 5px;
    background: transparent; /* No background */
    color: #fff; /* White text */
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
    font-family: 'Merriweather', serif; /* Merriweather */
}

.mds-section .button:hover {
    background: rgba(255, 255, 255, 0.1); /* Light rollover like sections */
}

/* Guest note: tighter spacing */
.guest-note {
    font-size: 12px;
    color: #fff; /* White */
    text-align: center;
    margin-top: 5px; /* Tightened from 8px */
    opacity: 0.9;
    font-family: 'Merriweather', serif; /* Merriweather */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .mds-splash-form {
        max-width: 100%;
    }
    
    .mds-section, .mds-button-section {
        padding: 12px;
    }
}





/* Dog Profile Setup Page - Updated: More Rounded Corners, Wider Form/Fields, Clean Text, Identical Buttons */

/* Scoped to .mds-profile-form (add to Custom HTML wrapper) */
.mds-profile-form {
    max-width: 450px; /* Wider as requested (from 400px) */
    margin: 0 auto; /* Center */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between elements */
    font-family: 'Merriweather', serif; /* Consistent font */
    color: #333; /* Dark text */
    background: rgba(0, 191, 255, 0.1); /* Light cyan background */
    border-radius: 15px; /* More rounded corners like splash (from 10px) */
    padding: 20px; /* Inner padding */
    border: none; /* No outline */
}

/* Fields: wider, white bg, black text, placeholders only (consistent) */
.mds-profile-form input[type="text"],
.mds-profile-form select,
.mds-profile-form input[type="date"] {
    width: 100%;
    padding: 12px; /* Slightly more padding for cleaner text */
    margin: 0 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Light border */
    border-radius: 8px; /* More rounded (from 5px) for consistency */
    background: #fff; /* White background */
    color: #000; /* Black text */
    box-sizing: border-box;
    font-size: 16px; /* Consistent size */
    font-family: 'Merriweather', serif;
}

.mds-profile-form input::placeholder,
.mds-profile-form select {
    color: #999; /* Lighter gray placeholder for less messiness */
    font-size: 14px; /* Smaller placeholder if text was messy */
}

/* Gender Options: clean inline, fixed jumping */
.mds-profile-form .gender-options {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between lines */
    margin-bottom: 15px;
}

.mds-profile-form .gender-options .gender-line {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between elements */
    font-size: 14px;
    color: #333; /* Dark text */
    white-space: nowrap; /* Prevent wrapping/jumping */
}

.mds-profile-form .gender-options .status-options {
    display: flex;
    gap: 10px; /* Space between checkboxes */
}

/* Buttons: identical cyan with white text, rounded (matching Add another dog) */
.mds-profile-form .button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px; /* More rounded like fields */
    background: #00BFFF; /* Cyan blue */
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
    font-family: 'Merriweather', serif;
    margin-bottom: 10px; /* Space if stacked */
}

.mds-profile-form .button:hover {
    background: #009acd; /* Darker cyan hover */
}

/* Bottom buttons: four-column or flex for side-by-side, same style */
.mds-bottom-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
    margin-top: 20px; /* Space from form */
}

.mds-bottom-buttons .button {
    flex: 1; /* Equal width */
    margin: 0; /* No extra margin */
    background: #00BFFF; /* Cyan for both, identical to Add another */
    color: #fff;
}

.mds-bottom-buttons .button:hover {
    background: #009acd;
}

.mds-bottom-buttons .button.secondary {
    background: #00BFFF; /* Make secondary identical */
    color: #fff;
}

.mds-bottom-buttons .button.secondary:hover {
    background: #009acd;
}

/* Description: tighter and consistent */
.mds-profile-form .description {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 5px; /* Tighter spacing */
}

/* Disclaimer (separate) */
.disclaimer {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

/* Image on right (WP column) */
.wp-block-column.image-column {
    display: flex;
    justify-content: flex-end;
}

.wp-block-column.image-column img {
    max-width: 100%;
    height: auto;
}

/* Mobile: stack columns, buttons */
@media (max-width: 768px) {
    .mds-profile-form {
        max-width: 100%;
    }
    
    .mds-bottom-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .wp-block-columns {
        flex-direction: column;
    }
    
    .wp-block-column.image-column {
        justify-content: center;
        margin-bottom: 20px;
    }
}




/* ===== SPLASH FORM BASE ===== */

.mds-splash-form{
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 300px;
  margin: 0 auto;
}

/* ===== GUEST BLOCK ===== */

/* Controls spacing BELOW disclaimer */
.mds-guest-wrap{
  margin-bottom: 12px;   /* << SMALL, controlled gap to Sign In */
}

/* Guest button */
.mds-guest-btn{
  margin: 0;
}

/* ===== DISCLAIMER ===== */

.guest-note{
  margin: 6px 0 0 0;     /* space ABOVE only */
  padding: 0;
  line-height: 1.2;
  text-align: center;
  font-size: 12px;
  color: #fff;
  opacity: 0.9;
}

/* Force clean 2-line stack */
.guest-note span{
  display: block;
}

/* ===== SIGN-IN ===== */

.mds-section{
  margin-bottom: 14px;
}

/* ===== REGISTER ===== */

.mds-register-btn{
  margin: 0;
}





/* =========================
   MDS Dog Profile (Page 2)
   White background + cyan card
   ========================= */

.mds-profile-layout{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:48px;
  max-width:1100px;
  margin:0 auto;
  padding:40px 24px 60px;
}

/* left column */
.mds-profile-left{
  width:560px;
  max-width:100%;
}

.mds-profile-head{
  text-align:center;
  margin-bottom:22px;
}

.mds-profile-title{
  margin:0 0 6px;
  font-family:'Merriweather', serif;
  font-size:34px;
  font-weight:700;
  color:#111;
}

.mds-profile-subtitle{
  margin:0;
  font-family:'Merriweather', serif;
  font-size:14px;
  color:#555;
}

/* card */
.mds-profile-card{
  background:#e9f9ff;           /* light cyan box */
  border-radius:18px;
  padding:18px 18px 16px;
  border:1px solid rgba(0,0,0,0.08);
  box-shadow:none;               /* keep it flat like your vibe */
  margin:0 auto 18px;
}

.mds-card-title{
  font-family: "Merriweather", serif;
  font-size: 20px;        /* adjust to 19–20 if needed */
  font-weight: 500;       /* key change */
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 16px;
}
/* fields */
.mds-field{
  margin:0 0 14px;
}

.mds-profile-card input,
.mds-profile-card select{
  width:100%;
  height:44px;
  padding:10px 14px;
  border-radius:10px;
  border:2px solid rgba(0,0,0,0.20);
  background:#fff;
  font-family:'Merriweather', serif;
  font-size:16px;
  color:#111;
  outline:none;
}

.mds-profile-card input:focus,
.mds-profile-card select:focus{
  border-color:rgba(0,0,0,0.35);
}

/* checkbox grid */
.mds-sex-grid{
  margin-top:6px;
}

.mds-sex-row{
  display: grid;
  grid-template-columns: 70px auto auto;
  column-gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.mds-sex-label{
  font-weight: 600;
}

.mds-check{
  display: flex;
  align-items: center;
  gap: 6px;
}

.mds-check input{
  width:16px;
  height:16px;
}

/* buttons */
.mds-pill-button{
  display:block;
  width:260px;
  max-width:100%;
  margin:6px auto 10px;
  padding:12px 14px;
  border-radius:999px;
  border:2px solid rgba(0,0,0,0.20);
  background:#fff;
  color:#111;
  font-family:'Merriweather', serif;
  font-size:20px;
  cursor:pointer;
  transition:background 0.25s ease;
}

.mds-pill-button:hover{
  background:rgba(0,0,0,0.03);
}

.mds-small-note{
  text-align:center;
  font-family:'Merriweather', serif;
  font-size:14px;
  color:#555;
  margin:0 0 18px;
}

/* bottom action buttons (match your big blue pill vibe) */
.mds-profile-actions{
  display:flex;
  gap:16px;
  justify-content:center;
  margin-top:6px;
}

.mds-action-button{
  width:320px;
  max-width:calc(50% - 8px);
  padding:14px 16px;
  border-radius:999px;
  border:2px solid rgba(0,0,0,0.20);
  background:#2fb8f2;            /* same family as splash */
  color:#fff;
  font-family:'Merriweather', serif;
  font-size:20px;
  cursor:pointer;
  transition:filter 0.25s ease;
}

.mds-action-button:hover{
  filter:brightness(0.97);
}

/* right column image */
.mds-profile-right{
  width:360px;
  display:flex;
  justify-content:center;
  align-items:flex-end;
}

.mds-profile-dog{
  width:340px;
  max-width:100%;
  height:auto;
  display:block;
}

/* responsive */
@media (max-width: 980px){
  .mds-profile-layout{
    flex-direction:column;
    gap:26px;
    padding:30px 18px 50px;
  }
  .mds-profile-right{
    width:auto;
    order:2;
  }
  .mds-profile-left{
    order:1;
  }
  .mds-profile-actions{
    flex-direction:column;
  }
  .mds-action-button{
    max-width:100%;
    width:100%;
  }
}



/* === MDS button system (reused across pages) === */
.mds-btn{
  background:#262626;
  color:#fff;
  padding:12px 28px;
  border:none;
  border-radius:999px;
  cursor:pointer;
  font-size:16px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}


.mds-btn--blue{
  background:#43c7f4;
  color:#fff;
}
.mds-btn--blue:hover{
  background:#33b6df;
}




/* =========================
   DOG PROFILE — FORCE BUTTON COLORS
   (wins over theme/button styles)
========================= */

.mds-profile-page .mds-btn{
  background: transparent;
  border: none;
  box-shadow: none;
}


.mds-profile-page .mds-note{
  text-align: center;
}




/* Force the BLUE pill look everywhere inside profile page */
.mds-profile-page .mds-btn.mds-btn--blue,
.mds-profile-page .mds-btn.mds-btn--blue:visited,
.mds-profile-page .mds-btn.mds-btn--blue:hover,
.mds-profile-page .mds-btn.mds-btn--blue:active,
.mds-profile-page .mds-btn.mds-btn--blue:focus{
  background: #43c7f4 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* If WP/theme is styling "button" directly, this shuts it down */
.mds-profile-page button.mds-btn.mds-btn--blue{
  -webkit-appearance: none;
  appearance: none;
}

/* Optional: consistent focus ring */
.mds-profile-page .mds-btn.mds-btn--blue:focus{
  outline: 2px solid rgba(67,199,244,.35) !important;
  outline-offset: 3px !important;
}




/* Space between form card and "Add another dog" */
.mds-profile-left .mds-card {
  margin-bottom: 28px; /* matches splash rhythm */
}




.mds-profile-left > .mds-btn {
  display: block;
  margin: 0 auto 14px; /* centered + small gap before note */
}



/* Big intentional pause before primary actions */
.mds-profile-actions {
  margin-top: 64px;   /* large separation like splash */
  display: flex;
  justify-content: center;
  gap: 18px;
}



.mds-profile-actions .mds-btn {
  min-width: 220px;
  text-align: center;
}



/* PROFILE PAGE: gently center / indent sex-status checkboxes */
.mds-profile-page .mds-sex-grid{
  padding-left: 18px;        /* visual indent */
  padding-right: 18px;
  max-width: 420px;          /* keeps it from feeling wide */
  margin-left: auto;
  margin-right: auto;
}



/* Keep columns equal-height, so "bottom" actually exists */
.mds-profile-cols.wp-block-columns{
  align-items: stretch;
}

/* Make each column a vertical flex stack */
.mds-profile-cols.wp-block-columns > .wp-block-column{
  display: flex;
  flex-direction: column;
}

/* Push the LAST column (dog column) content to the bottom */
.mds-profile-cols.wp-block-columns > .wp-block-column:last-child{
  justify-content: flex-end;
}

/* Remove the default bottom margin that can keep the image floating */
.mds-profile-cols.wp-block-columns > .wp-block-column:last-child .wp-block-image{
  margin-bottom: 0;
}


.mds-profile-cols.wp-block-columns > .wp-block-column.is-vertically-aligned-center,
.mds-profile-cols.wp-block-columns > .wp-block-column.is-vertically-aligned-top{
  align-self: stretch;
}



/* Bottom-align the dog column to the same baseline as the left content */
.mds-profile-cols.wp-block-columns{
  align-items: stretch; /* keep normal behavior for other columns */
}

/* Make the dog column a flex column and push its contents to the bottom */
.mds-profile-dogcol.wp-block-column{
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

/* Ensure the image itself doesn’t add weird extra gaps */
.mds-profile-dogcol.wp-block-column img{
  display: block;
  margin-top: 0;
  margin-bottom: 0;
}









/* 4-column grid like the mockup */
.mds-symptom-grid{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.mds-symptom-col{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Card look (matches your pale blue blocks) */
.mds-symptom-card{
  background: #eef9ff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 26px;
  padding: 18px 18px 20px;
}

/* Titles: smaller + Merriweather + solid black */
.mds-symptom-title{
  font-family: "Merriweather", serif !important;
  font-weight: 700;
  font-size: 17px;          /* smaller */
  text-align: center;
  margin: 2px 0 10px;
  line-height: 1.15;
  color: #000 !important;
}

/* Selects with visible dropdown chevron */
.mds-select{
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.20);
  background: #fff;
  padding: 0 44px 0 12px;   /* room for arrow */
  font-size: 15px;
  line-height: 42px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center; /* arrow a bit less far right */
  background-size: 20px 20px;
}

/* Custom input matches select height */
.mds-input{
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.20);
  background: #fff;
  padding: 0 12px;
  font-size: 15px;
}

/* Custom note */
.mds-custom-note{
  margin-top: 12px;
  font-size: 14px;
  color: rgba(0,0,0,.55);
  line-height: 1.35;
  text-align: left;
}

/* Treatments = solid cyan like your buttons */
.mds-treatments-card{
  background: #41c3f2 !important; /* force it */
  border-color: rgba(0,0,0,.10);
}

/* Treatments title white (keep same sizing as others) */
.mds-treatments-card .mds-symptom-title{
  font-family: "Merriweather", serif !important;
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  margin: 2px 0 10px;
  line-height: 1.15;
  color: #fff !important;
}

/* keep select readable on cyan */
.mds-select--light{
  background-color: #fff;
}

/* (optional) if you have a treatments note in the cyan card */
.mds-treatments-card .mds-treatments-note{
  color: #fff !important;
}

/* responsive fallback */
@media (max-width: 1100px){
  .mds-symptom-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .mds-symptom-grid{ grid-template-columns: 1fr; }
}





/* Simple symptom card (inherits mds-card look) */
.mds-symptom-card-simple .mds-field input {
  width: 100%;
}

/* Optional: slightly tighter note spacing than profile card */
.mds-symptom-card-simple .mds-note {
  margin-top: 10px;
}




.mds-profile-actions{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}




/* Generic centered button stack */
.mds-button-stack{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

/* Constrain button width without forcing full-width */
.mds-button-stack .mds-btn{
  width: auto;              /* important */
  max-width: 320px;         /* tweak once, reuse everywhere */
  padding-left: 28px;
  padding-right: 28px;
}




.mds-card .mds-helper{
  text-align: center;
}



.mds-button-stack { … }
.mds-button-stack .mds-btn { … }



/* Center a single button inside a column */
.mds-button-center{
  display: flex;
  justify-content: center;
}

/* Keep the button from stretching weirdly */
.mds-button-center .mds-btn{
  width: auto;
  max-width: 320px;   /* tweak */
  padding-left: 28px;
  padding-right: 28px;
}





.mds-btn--centered{
  display: block;
  width: fit-content;
  max-width: 320px;
  padding-left: 28px;
  padding-right: 28px;
  margin-left: auto;
  margin-right: auto;
}









/* Pill list (symptoms/treatments) */
.mds-pill-list{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center; /* matches your centered convention */
}

.mds-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  max-width: 100%;
}

.mds-pill-label{
  font-size: 16px;
  line-height: 1.2;
  color: rgba(0,0,0,.80);
  word-break: break-word;
}

/* Checkbox */
.mds-pill input[type="checkbox"]{
  width: 18px;
  height: 18px;
}

/* Remove button */
.mds-pill-remove{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  color: rgba(0,0,0,.45);
}
.mds-pill-remove:hover{
  color: rgba(0,0,0,.75);
}

/* Optional: subtle "unchecked" appearance */
.mds-pill.is-unchecked{
  opacity: .72;
}






/* ===== Unified "rounded system" for inputs + pills ===== */

.mds-card .mds-field input[type="text"],
.mds-card .mds-field input[type="date"],
.mds-card .mds-field select{
  height: 46px;
  border-radius: 18px;                 /* match pill softness */
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  padding: 0 16px;
  font-size: 16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

/* If your select arrow looks off, keep your existing select styling;
   this just rounds the corners consistently. */

/* Pills: keep the roundness but align the visual weight to inputs */
.mds-pill-list{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.mds-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.14);   /* same as input */
  box-shadow: 0 1px 0 rgba(0,0,0,.03); /* same as input */
}

.mds-pill-label{
  font-size: 16px;
  color: rgba(0,0,0,.78);
}

.mds-pill-remove{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  color: rgba(0,0,0,.45);
}
.mds-pill-remove:hover{
  color: rgba(0,0,0,.75);
}





.mds-log-date {
  text-align: center;
  margin: 0 0 0.75rem;
  font-weight: 600;      /* or whatever matches your system */
}




.mds-log-date { text-align: center; }
#mds-prev-month, #mds-next-month, #mds-month-year { cursor: pointer; }
#mds-prev-month:hover, #mds-next-month:hover, #mds-month-year:hover { text-decoration: underline; }






/* =========================
   MONTH VIEW (CLEAN SET)
   ========================= */

/* OUTER FRAME — white, rounded, border only */
.mds-month-frame{
  width: 100%;
  padding: 20px 18px 26px;
  border: 1px solid #c8c8c8;
  border-radius: 24px;
  background: #fff;
  box-sizing: border-box;
}

/* GRID — no fill, no inner border/box */
.mds-month-grid{
  width: 100%;
  height: 420px;               /* adjust as needed */
  display: grid;
  gap: 0;
  align-items: stretch;
  background: transparent;
  overflow: hidden;
  box-sizing: border-box;
}

/* DAY COLUMN */
.mds-day{
  position: relative;
  min-width: 0;                /* critical so 31 cols fit */
  border-left: 1px solid #c8c8c8; /* vertical rulers */
  box-sizing: border-box;
}

/* NO LEFT OUTSIDE RULER (frame edge becomes the ruler) */
.mds-day:first-child{
  border-left: 0;
}

/* NO RIGHT OUTSIDE RULER:
   We do NOT draw right borders at all, so nothing to remove.
   (Leaving this here as a reminder: DON'T add border-right.) */

/* DAY NUMBER — bottom centered */
.mds-day-num{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  opacity: 0.75;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* Optional: subtle today highlight (safe, doesn’t affect layout) */
.mds-day.is-today{
  outline: 2px solid #2db6f0;
  outline-offset: -2px;
}
