/**
 * Nremed Common Styles CSS
 */
:root {
  --nremed-primary-color: #3c0af0;
  --nremed-primary-textcolor: #f3eff1;
  --nremed-secondary-color: #dbd4d7;
  --nremed-secondary-textcolor: #272727;
  --nremed-green-color: #008b20;
  --nremed-red-color: #d50015;
  --nremed-orange-color: #cb9800;
  --nremed-blue-color: #0061c9;
  --nremed-lightgreen-color: #d8ffe1;
  --nremed-lightred-color: #ffe4e7;
  --nremed-lightorange-color: #fff4d5;
  --nremed-lightblue-color: #d3e8ff;
}

/**
 * Global styles
 */
.nremed-btn {
  background-color: var(--nremed-primary-color);
  color: var(--nremed-primary-textcolor);
  border-radius: 10px;
}
.nremed-btn:hover {
  background-color: var(--nremed-secondary-color);
  color: var(--nremed-secondary-textcolor);
}

.nremed-hide {
  display: none !important;
}

/**
 * Popup styles
 */
.nremed-modal-popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
}

body.nremed-popup-active {
  overflow: hidden;
}

.nremed-modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.nremed-modal-container .nremed-modal-inner-area {
  display: flex;
  width: 450px;
  height: 100%;
  margin: 0 auto;
  align-items: center;
}
.nremed-modal-container .nremed-modal-content-area {
  display: inline-block;
  position: relative;
  width: 100%;
  max-height: 90%;
  border-radius: 10px;
  padding: 20px;
  background-color: #fff;
}
.nremed-modal-container .nremed-modal-content-area .nremed-modalinit-con {
  display: inline-block;
  position: relative;
  width: 100%;
}
.nremed-videocard-modal .nremed-modalinit-con {
  min-height: 150px;
  display: flex;
  align-items: center;
}
.nremed-videocard-modal .nremed-modal-inner-area {
  width: 640px;
}

.nremed-popup-hide {
  display: none;
}

.nremed-popup-closebtn {
  position: absolute;
  top: -20px;
  right: -18px;
  color: #fff;
  padding: 0 6px;
  background-color: var(--nremed-red-color);
  border-radius: 20px;
}
.nremed-popup-closebtn:hover, .nremed-popup-closebtn:focus, .nremed-popup-closebtn:active {
  color: #fff;
}

/**
 * Loader styles
 */
.nremed-loder-con {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.768627451);
  z-index: 9;
}
.nremed-loder-con .nremed-loder-iner {
  display: flex;
  width: 40px;
  height: 100%;
  margin: 0 auto;
  align-items: center;
}
.nremed-loder-con .nremed-loder-iner .nremed-loader {
  border: 7px solid #f3f3f3;
  border-radius: 50%;
  border-top: 7px solid var(--nremed-primary-color);
  width: 40px;
  height: 40px;
  box-sizing: border-box; /* Safari */
  animation: nremed-spin 1s linear infinite;
}
@keyframes nremed-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.nremed-confirmsg-con {
  font-size: 15px;
}
/*
 * Confirm Popup Buttons
 */
.confirm-popup-btns {
  display: flex;
  padding: 20px 0 0;
  width: 100%;
  justify-content: center;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
.confirm-popup-btns button {
  padding: 5px 20px;
  font-size: 80%;
  border: none;
  cursor: pointer;
}
.confirm-popup-btns .nremed-cancel-act {
  background-color: #d2d2d2;
  color: #222;
  border-radius: 2px;
}
.confirm-popup-btns .nremed-delitm-btn {
  background-color: var(--nremed-red-color);
  color: #fff;
  border-radius: 2px;
}

/*
 * Action message
 */
.nremed-alert-msg {
  position: fixed;
  top: 20px;
  right: 30px;
  width: 220px;
  padding: 10px 15px;
  font-size: 85%;
  border: 1px solid;
  border-radius: 4px;
  background-color: var(--nremed-lightorange-color);
  border-color: var(--nremed-orange-color);
  color: var(--nremed-orange-color);
  z-index: 100;
}
.nremed-alert-msg.nremed-alert-success {
  background-color: var(--nremed-lightgreen-color);
  border-color: var(--nremed-green-color);
  color: var(--nremed-green-color);
}
.nremed-alert-msg.nremed-alert-danger {
  background-color: var(--nremed-lightred-color);
  border-color: var(--nremed-red-color);
  color: var(--nremed-red-color);
}

.nremed-danger-msg {
  display: inline-block;
  width: 100%;
  padding: 10px 15px;
  border: 1px solid;
  border-radius: 5px;
  font-size: 80%;
  background-color: var(--nremed-lightred-color);
  border-color: var(--nremed-red-color);
  color: var(--nremed-red-color);
}

/*
 * Advance Form Fields
 */
.nremed-form-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}
.nremed-form-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.nremed-btn-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 30px;
  transition: 0.4s;
}
.nremed-btn-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .nremed-btn-slider {
  background-color: var(--nremed-blue-color);
}
input:checked + .nremed-btn-slider::before {
  transform: translateX(26px);
}

.nremed-form-imgfield {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.nremed-form-imgfield .nremed-field-imgcon img {
  max-width: 100%;
  max-height: 250px;
}
.nremed-form-imgfield .nremed-field-inputcon input {
  margin: 0;
  min-width: 350px;
}
.nremed-form-imgfield .nremed-field-btnscon {
  display: flex;
  gap: 10px;
}

.nremed-formfields-con {
  position: relative;
}
.nremed-formfields-con .nremed-formseting-field {
  display: inline-block;
  position: relative;
  width: 100%;
  margin: 0 0 15px;
}
.nremed-formfields-con .nremed-formseting-field > label {
  display: inline-block;
  width: 100%;
  margin: 0 0 5px;
}
.nremed-formfields-con .nremed-formseting-field input[type="text"],
.nremed-formfields-con .nremed-formseting-field input[type="password"],
.nremed-formfields-con .nremed-formseting-field input[type="number"],
.nremed-formfields-con .nremed-formseting-field input[type="email"],
.nremed-formfields-con .nremed-formseting-field input[type="tel"] {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 5px 10px;
  height: 42px;
}
.nremed-formfields-con .nremed-formseting-field input[type="text"]:focus,
.nremed-formfields-con .nremed-formseting-field input[type="password"]:focus,
.nremed-formfields-con .nremed-formseting-field input[type="number"]:focus,
.nremed-formfields-con .nremed-formseting-field input[type="email"]:focus,
.nremed-formfields-con .nremed-formseting-field input[type="tel"]:focus {
  box-shadow: 0 0 3px 0 #e1e1e1;
  --formfieldbordercolor: #e1e1e1;
}
.nremed-formfields-con .nremed-select-field select {
  background: none;
  padding: 5px 7px;
  width: 100%;
}
.nremed-formfields-con .nremed-formseting-field textarea {
  display: inline-block;
  width: 100%;
  height: 130px;
  margin: 0;
  padding: 5px 10px;
}
.nremed-formfields-con .nremed-formseting-field textarea:focus {
  box-shadow: 0 0 3px 0 #e1e1e1;
  --formfieldbordercolor: #e1e1e1;
}
.nremed-formfields-con .nremed-formseting-field label small {
  margin: 0 2px;
  font-size: 16px;
  color: var(--nremed-red-color);
}
.nremed-formfields-con .nremed-formseting-field.nremed-itmprice-field input {
  padding-left: 46px;
  font-size: 15px;
}
.nremed-formseting-field.nremed-itmprice-field .nremed-curency-con {
  position: absolute;
  width: 50px;
  height: 42px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nremed-formseting-field.nremed-itmprice-field .nremed-curency-con span {
  line-height: 0;
  font-size: 15px;
}
.nremed-formfields-con .nremed-formseting-field .select2-container .select2-selection--single {
  height: 40px;
  border: 2px solid #dddddd;
  border-radius: 3px;
}
.nremed-formfields-con .nremed-formseting-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}
.nremed-formfields-con .nremed-formseting-field .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 6px;
}
.select2-container--default .select2-selection--single {
  border-color: #e1e1e1;
}
.nremed-passfield-holdr {
  display: inline-block;
  width: 100%;
  position: relative;
}
.nremed-formfields-con .nremed-passfield-holdr input {
  width: 100%;
  margin: 0;
  padding: 5px 40px 5px 10px;
}
.nremed-formfields-con .nremed-passfield-holdr input:focus {
  box-shadow: 0 0 3px 0 #e1e1e1;
  --formfieldbordercolor: #e1e1e1;
}
.nremed-formfields-con .nremed-passfield-holdr > span {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nremed-formfields-con .nremed-passfield-holdr > span i {
  font-size: 22px;
  color: #949494;
}
.nremed-formfields-con .select2-container--default .select2-search--inline .select2-search__field {
  width: auto !important;
}
.nremed-quiz-questions-holder {
  position: relative;
  width: 100%;
}
.nremed-dshbrd-chngepass-formholdr {
  position: relative;
}

/* Stations styles */
.stations-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.station-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.station-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.station-image {
  display: flex;
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.nremed-body-main .station-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

.station-card:hover .station-image img {
    transform: scale(1.05);
}

.station-content {
    padding: 15px 20px;
}
.nremed-read-more {
  display: flex;
  width: 100%;
  background-color: #081466;
  color: #ffffff;
  padding: 18px 10px;
  line-height: 1;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
}

.station-title {
    font-size: 1.4rem;
    margin: 0px;
    color: #2c3e50;
}

.station-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.station-card:hover .station-title a {
    color: #081466;
}

.station-excerpt {
    color: #7f8c8d;
    margin: 0px;
    font-size: 0.95rem;
}

/* No stations found message */
.no-stations {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    grid-column: 1 / -1;
}

.no-stations h3 {
    color: #e74c3c;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stations-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .stations-grid {
        grid-template-columns: 1fr;
    }
}
