@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100..900;1,100..900&display=swap");

/* Widget container reset & base styles */
#madecomfy-calculator {
    margin: 0;
    padding: 0;
    background: white;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  }
  
  /* Links inside the widget */
  #madecomfy-calculator a {
    color: #4d6a6d;
  }
  
  /* Form card layout */
  #madecomfy-calculator .mc-widget-form-card {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    grid-column-gap: 24px;
    grid-row-gap: 24px;
  }
  
  /* Hide all steps by default */
  #madecomfy-calculator .mc-widget-wrap.form-step {
    display: none;
  }
  
  /* Widget header styling */
  #madecomfy-calculator .mc-widget-head {
    margin-bottom: 1.5rem;
    font-size: 28px;
    font-weight: 600;
    line-height: 120%;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: #4D6A6D
  }
  
  /* Inputs wrapper */
  #madecomfy-calculator .mc-widget-inputs-wrapper {
    display: flex;
    flex-flow: column;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  
  /* Input fields */
  #madecomfy-calculator .mc-widget-field {
    border: 1px solid #cbd6e2;
    background-color: white;
    color: black;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 14px;
    margin-bottom: 0;
    border-radius: 4px;
    height: auto;
  }
  
  #madecomfy-calculator .mc-widget-field:focus {
    outline: none;
    border: 1px solid #3b3939;
  }
  
  /* Beds count wrapper */
  #madecomfy-calculator .beds-count-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #cbd6e2;
    border-radius: 4px;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
  }
  
  /* Bed text wrapper */
  #madecomfy-calculator .bed-text-wrapper {
    display: flex;
    flex-direction: row;
  }
  
  /* Bed counter buttons */
  #madecomfy-calculator .bed-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #ccc;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
  }
  
  #madecomfy-calculator .bed-counter:hover {
    background-color: #999;
  }
  
  /* Bed count display */
  #madecomfy-calculator #bed-count-display {
    margin-right: 4px;
    font-weight: 400;
  }
  
  /* Icon styling for embedded SVGs */
  #madecomfy-calculator .icon-embed-xsmall {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
    color: #3b3939;
  }
  
  /* General widget text */
  #madecomfy-calculator .mc-widget-text {
    font-size: 1rem;
    vertical-align: middle;
  }
  
  /* Spacer */
  #madecomfy-calculator .spacer-small {
    height: 10px;
  }
  
  /* Card bottom styling */
  #madecomfy-calculator .mc-widget-card-bottom {
    text-align: center;
    margin-top: 1rem;
  }
  
  /* Button wrapper */
  #madecomfy-calculator .widget-button-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  
  /* Widget buttons */
  #madecomfy-calculator .widget-button {
    font-family: 'Instrument Sans', sans-serif;
    border-radius: 100px;
    display: inline-block;
    background: #4d6a6d;
    color: white;
    padding: 0.75rem 3rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: background-color 0.5s ease;
    border: 1px solid #4d6a6d;
  }
  
  #madecomfy-calculator .widget-button:hover {
    background: white;
    color: #4d6a6d;
  }
  
  /* Back button styling */
  #madecomfy-calculator .back-btn {
    background-color: transparent;
    padding: 0;
    border: none;
    color: #000;
    display: inline-flex;
    align-items: center;
  }
  
  #madecomfy-calculator .back-btn:hover {
    color: #3b3939;
    background-color: white;
  }
  
  /* Chevron icon in back button */
  #madecomfy-calculator .chevron-icon {
    margin-right: 0.5em;
    margin-top: 0.25rem;
    display: flex;
    justify-content: center;
  }
  
  /* Powered-by text */
  #madecomfy-calculator .powered-by-mc-widget {
    font-size: 0.75rem;
    color: #3b3939;
    text-align: left;
  }
  
  /* Always show the first step */
  #madecomfy-calculator .mc-widget-wrap[data-step="1"] {
    display: block;
  }
  
  /* Revenue display styling */
  #madecomfy-calculator .revenue-display {
    font-size: 2rem;
    font-weight: bold;
    margin: 2rem 0;
    text-align: left;
    color: #4D6A6D;
  }
  
  /* Custom dropdown styling */
  #madecomfy-calculator .custom-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
    margin-bottom: 0;
    font-size: 1rem;
    color: #3b3939;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #cbd6e2;
    border-radius: 4px;
    padding: 14px 40px 14px 12px;
    font-family: 'Inter', sans-serif;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23333333' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
  }
  