
  @font-face {
    font-family: 'GilroyAlt';
    src: url('/fonts/GilroyAlt-Medium.woff2') format('woff2'),
        url('/fonts/GilroyAlt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'GilroyAlt';
    src: url('/fonts/GilroyAlt-Bold.woff2') format('woff2'),
        url('/fonts/GilroyAlt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  .patient{
    font-family: "GilroyAlt", sans-serif;
    font-weight: 500;
    color: #014C6B;
  }
  
  
  
  /* fonts */
  
  .patient .custom-h1,
  .patient .custom-h2,
  .patient .custom-h3,
  .patient .custom-h4,
  .patient .custom-h5,
  .patient .custom-h6{
    font-family: "GilroyAlt", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
  }

  .patient .custom-h1{
    font-size: 3rem;
    line-height: 1.2;
  }

  .patient .custom-neutral-dark{
    color: #014C6B;
  }

  .patient .custom-link{
    color: #214C6D;
    /* text-decoration: none; */
  }

  .patient .custom-link:hover{
    color: #03A58E;
    /* text-decoration: none; */
  }

  .patient .text-dark{
    color: #014C6B !important;
  }

  /* #searchPostcode{
    color: #014C6B !important;
  } */

  .patient .text-danger{
    color: #014C6B !important;
    font-weight: bold;
  }




  /* buttons */

  .patient .custom-btn-primary{
    background-color: #214C6D;
    color: #ffffff;
  }

  .patient .custom-btn-primary:hover,
  .patient .custom-btn-primary:focus,
  .patient .custom-btn-primary:active,
  .patient a.custom-btn-primary:hover,
  .patient a.custom-btn-primary:focus,
  .patient a.custom-btn-primary:active{
    background-color: #03A58E;
    color: #ffffff;
  }
  
  .patient .custom-icon-arrow-right{
    display: none;
  }




  /* calendar */

  .patient #timeslots{
    margin-bottom: 50px;
  }

  .patient #timeslots .p-1 {
    padding: .5rem .7rem !important;
    font-weight: 600;
  }

  .patient #timeslots .bg-light{
    background-color: #CFEBF6 !important;
  }

  .patient #calendar .fc-button-primary{
    background-color: #fff !important;
    border-color: #fff !important;
    color: #03A58E !important;
    font-size: 1.5em !important;
    padding: 5px 10px !important;
  }

  .patient #calendar .fc-button-primary:focus{
    box-shadow: none !important;
  }

  .patient #calendar .fc-button-primary:active,
  .patient #calendar .fc-button-primary:hover {
    border-color: #fff !important;
    color: #014C6B !important;
    box-shadow: none !important;
  }

  /* Remove table borders and grid lines */
  .patient #calendar .fc-theme-standard td,
  .patient #calendar .fc-theme-standard th,
  .patient #calendar .fc-scrollgrid,
  .patient #calendar .fc-scrollgrid td,
  .patient #calendar .fc-scrollgrid th,
  .patient #calendar .fc-daygrid-day-frame {
    border: none !important;
    box-shadow: none !important;
  }

  .patient #calendar .fc-col-header-cell a {
    color: #013A6B !important;        /* dark blue */
    text-decoration: none !important; /* remove underline */
    font-weight: 700;                 /* make bold like rest of site */
    font-family: inherit;             /* optional: match site font */
    font-size: 1rem;                  /* optional: adjust size */
  }


  /* Make all day cells round with subtle background */
  .patient #calendar .fc-daygrid-day-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    color: #214C6D;
    box-sizing: border-box;
    transition: background-color 0.2s, color 0.2s;
  }

  /* Hide default event display */
  .patient #calendar .fc-daygrid-day-events {
    display: none;
  }

  /* Default day cell layout */
  .patient #calendar .fc-daygrid-day {
    text-align: center;
  }

  .patient #calendar .fc-daygrid-day:not(.selected-date):not(.fc-day-today):hover .fc-daygrid-day-number {
  background-color: #E5F6F9;
  color: #036672;
}

  /* TODAY (default): green circle */
  .patient #calendar .fc-day-today .fc-daygrid-day-number {
    background-color: #159C88;
    color: #fff;
  }

  /* TODAY but no longer selected: faint blue */
  .patient #calendar .fc-day-today.dimmed-today .fc-daygrid-day-number {
    background-color: #E0F4F9;
    color: #214C6D;
  }

  /* Selected date (whether it's today or another date) */
  .patient #calendar .selected-date .fc-daygrid-day-number {
    background-color: #159C88;
    color: #fff;
  }

  /* Dim other-month dates */
  .patient #calendar .fc-day-other .fc-daygrid-day-number {
    opacity: 0.3;
  }

  /* Clean layout padding */
  .patient #calendar .fc-daygrid-day-frame {
    padding: 2px !important;
  }

  /* Prevent weird background highlights */
  .patient #calendar .fc-daygrid-day.fc-day-today,
  .patient #calendar .fc-daygrid-day.fc-day-selected,
  .patient #calendar .fc-highlight {
    background: transparent !important;
  }



  
  
  
  
  /* icons */
  
  .patient .custom-icon-medical{
    position: relative;
    width: 55px;  
    height: 55px;
    display: inline-block;
    border: none;
  }

  .patient .custom-icon-medical:before {
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: 'FontAwesome';
    content: "\f004"; 
    /* font: var(--fa-font-solid); */
    font: var(--fa-font-regular);
    font-size: 4rem;
    color: #014C6B;
  }



  .patient .custom-icon-profile,
  .patient .custom-icon-information,
  .patient .custom-icon-signature{
    position: relative;
    width: 55px;  
    height: 55px;
    display: inline-block;
    border: none;
  }

  .patient .custom-icon-profile:before,
  .patient .custom-icon-information:before,
  .patient .custom-icon-signature:before{
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: 'FontAwesome';
    content: "\f15c"; 
    font: var(--fa-font-regular);
    font-size: 4rem;
    color: #014C6B;
  }


  .patient .custom-icon-pharmacy{
    position: relative;
    width: 55px;  
    height: 55px;
    display: inline-block;
    border: none;
  }

  .patient .custom-icon-pharmacy:before{
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: 'FontAwesome';
    content: "\f3c5"; 
    /* font: var(--fa-font-signature); */
    font-size: 4rem;
    color: #014C6B;
  }

  .patient .custom-icon-course{
    position: relative;
    width: 55px;  
    height: 55px;
    display: inline-block;
    border: none;
  }

  .patient .custom-icon-course:before{
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: 'FontAwesome';
    content: "\f133"; 
    /* font: var(--fa-font-signature); */
    font-size: 4rem;
    color: #014C6B;
  }

  .patient .custom-icon-check{
    position: relative;
    width: 55px;  
    height: 55px;
    display: inline-block;
    border: none;
  }

  .patient .custom-icon-check:before{
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: 'FontAwesome';
    content: "\f00c"; 
    /* font: var(--fa-font-signature); */
    font-size: 4rem;
    color: #014C6B;
  }


  





  


  /* inputs */

  .patient label{
    font-size: 16px;
    font-weight: 600;
  }

  .patient .form-control{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .patient .form-control:focus {
    border: 1px solid #CFEBF6 !important;
    box-shadow: 0 0 3px #CFEBF6 !important;
    -moz-box-shadow: 0 0 3px #CFEBF6 !important;
    -webkit-box-shadow: 0 0 3px #CFEBF6 !important;
  }

  .patient .form-select{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .patient .form-select:focus {
    border: 1px solid #CFEBF6 !important;
    box-shadow: 0 0 3px #CFEBF6 !important;
    -moz-box-shadow: 0 0 3px #CFEBF6 !important;
    -webkit-box-shadow: 0 0 3px #CFEBF6 !important;
  }

  .patient .custom-input-radio{
    display: block;
    cursor: pointer; 
    user-select:none;
    text-align: left;
    /* &+.custom-input-radio{
      margin-top: 12px;
    } */
    input{
      display: none;
      &+span{
        display: inline-block; 
        position: relative;
        padding-left: 30px;
        &:before{
          content: '';
          margin-top: 3px;
          display: block; 
          position: absolute;
          top: 0px;
          left: 0px;
          border-radius: 50%;
          margin-right: 5px;
          width: 16px;
          height: 16px;
          border: 1px solid #ccc;
          background: #fff;
        }
        &:after{
          content: '';
          display: block; 
          width: 10px;
          height: 10px;
          /* background: #222; */
          background: #014C6B;
          position: absolute;
          border-radius: 50%;
          top: 6px;
          left: 3px;
          opacity: 0;
          transform: scale(0,0); 
          transition: all .2s cubic-bezier(0.64, 0.57, 0.67, 1.53);
        }
      }
      &:checked+span:after{
        opacity: 1;
        transform: scale(1,1);
      }
    }
  }

  .patient .custom-input-checkbox input[type="checkbox"] {
    display: none; /* Hide the default checkbox */
  }
  
  .patient .custom-input-checkbox span {
    display: inline-block;
    position: relative;
    padding-left: 34px; /* Space for custom checkbox */
    cursor: pointer;
    user-select: none;
  }
  
  .patient .custom-input-checkbox span:before {
    content: "";
    position: absolute;
    left: 0;
    /* top: 50%;
    transform: translateY(-50%); */
    top: 0;
    width: 26px;
    height:26px;
    border: 2px solid #D1D5DB; /* Default border color */
    border-radius: 4px; /* Rounded corners */
    background-color: transparent;
    transition: all 0.3s ease;
  }
  
  .patient .custom-input-checkbox input[type="checkbox"]:checked + span:before {
    background-color: #014C6B; /* Well blue color */
    border-color: #014C6B; /* Match the border color with the background */
  }
  
  .patient .custom-input-checkbox input[type="checkbox"]:checked + span:after {
    content: "";
    position: absolute;
    /* left: 6px; */
    left: 10px;
    /* top: 50%; */
    top: 12px;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transition: all 0.3s ease;
  }




  
  /* borders */

  .patient .custom-border{
    border: 2px solid rgba(1, 76, 107, 0.20);
  }


    /* service card */

    /* base colours */
    .service-title,
    .service-icon {
        color: #0b5878;          /* your brand blue */
    }

    .service-subtitle {
        color: #6c757d;          /* muted grey like Bootstrap */
    }

    /* remove default link blue */
    .service-card {
        color: inherit;
    }

    /* hover state to match screenshot 2 */
    .service-card:hover {
        background-color: #e5f4fb;   /* light blue highlight */
        text-decoration: none;
    }

    .service-card:hover .service-title,
    .service-card:hover .service-icon {
        color: #0b5878;              /* keep the blue on hover */
    }
