@keyframes swp_pfade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes swp_pfade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes swp_pfade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes swp_pfade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-ms-keyframes swp_pfade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes aptop {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.swp_popup {
  display: none;
  position: fixed;
  /* Stay in place */
  z-index: 10000;
  /* Sit on top */
  /*padding-top: 10px;*/
  /* Location of the box */
  /*padding-bottom: 10px;*/
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  /*overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */

  animation: swp_pfade ease 5s;
  -webkit-animation: swp_pfade 0.5s;
  -moz-animation: swp_pfade 0.5s;
  -o-animation: swp_pfade 0.5s;
  -ms-animation: swp_pfade 0.5s;


  /*animation: swp_aptop 5s;
            -webkit-animation: swp_aptop 5s;
            -moz-animation: swp_aptop 5s;
            -o-animation: swp_aptop 5s;
            -ms-animation: swp_aptop 5s;*/
}

.swp_popupsearch {
  display: none;
  position: fixed;
  /* Stay in place */
  z-index: 28000;
  /* Sit on top */
  /*padding-top: 10px;*/
  /* Location of the box */
  /*padding-bottom: 10px;*/
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  color: #ffffff;
  /*overflow: auto; /* Enable scroll if needed */
  background-color: transparent;
  /* Black w/ opacity */
  background-color: rgba(23, 121, 186, 0.4);
  background-color: rgba(255, 255, 255, 0.4);
}

.swp_warning_popup {
  display: none;
  position: fixed;
  /* Stay in place */
  z-index: 100000;
  /* Sit on top */
  /*padding-top: 10px;*/
  /* Location of the box */
  /*padding-bottom: 10px;*/
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  /*overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  background-color: #e74c3c;
}

/*.button {
          font-size: 1em;
          padding: 10px;
          color: #fff;
          border: 2px solid #06D85F;
          border-radius: 20px/50px;
          text-decoration: none;
          cursor: pointer;
          transition: all 0.3s ease-out;
        }
        .button:hover {
          background: #06D85F;
        }*/

.swp_cpopupbody {
  display: flex;
  flex-flow: column;
  height: calc(100%);
  background: #ffffff;
  /*position: relative;*/
  transition: all 5s ease-in-out;
}

.swp_cpopupbody .swp_cpopupheader {
  flex: 0 1 auto;
}

.swp_cpopupbody .swp_cpopupcontent {
  flex: 1 1 auto;
}

.swp_cpopupbody .swp_cpopupbuttons {
  /*flex: 0 1 40px;*/
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.swp_popupbody {
  display: flex;
  flex-flow: column;
  height: calc(100% - 20px);
  margin: 5px;
  border-radius: 5px;
  padding: 10px 20px 0px 20px;
  background: #ffffff;
  /*position: relative;*/
  transition: all 5s ease-in-out;
}

.swp_popupbody .swp_popupheader {
  flex: 0 1 auto;
}

.swp_popupbody .swp_popupcontent {
  flex: 1 1 auto;
}

.swp_popupbody .swp_popupbuttons {
  flex: 0 1 40px;
}

.swp_popupbodyd {
  flex-flow: column;
  display: flex;
  width: 300px;
  height: auto;
  min-height: 200px;
  border-radius: 5px;
  padding: 10px 20px 10px 20px;
  background: #ffffff;
  /*position: relative;*/
  transition: all 5s ease-in-out;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.swp_popupbodyd .swp_popupheader {
  flex: 0 1 auto;
}

.swp_popupbodyd .swp_popupcontent {
  flex: 1 1 auto;
}

.swp_popupbodyd .swp_popupbuttons {
  flex: 0 1 40px;
}

.swp_popupbodyda {
  flex-flow: column;
  display: flex;
  width: 600px;
  height: 600px;
  border-radius: 5px;
  padding: 10px 20px 0px 20px;
  background: #ffffff;
  /*position: relative;*/
  transition: all 5s ease-in-out;
  text-align: left;
  position: absolute;
  top: 50%;
  margin-top: -300px;
  left: 50%;
  margin-left: -320px;
}

.swp_popupbodyda .swp_popupheader {
  flex: 0 1 auto;
}

.swp_popupbodyda .swp_popupcontent {
  flex: 1 1 auto;
}

.swp_popupbodyda .swp_popupbuttons {
  flex: 0 1 40px;
}

.swp_popuprow {
  margin-bottom: 20px;
}

.swp_popupbuttons {
  margin-top: 5px;
  margin-bottom: 0;
}

.swp_cpopupbuttons {
  margin-top: 5px;
}

.swp_search_popupbody {
  display: flex;
  flex-flow: column;
  height: 100%;

  /*margin: 70px; */
  padding: 20px 40px 0px 40px;
  /*background: transparent;*/
  background-color: rgb(0, 0, 0, 0.01);
  /*position: relative;*/
  transition: all 5s ease-in-out;
}

.swp_search_popupbody .swp_search_popupheader {
  flex: 0 1 auto;
}

.swp_search_popupbody .swp_search_popupcontent {
  flex: 1 1 auto;
}

.swp_search_popupbody .swp_search_popupbuttons {
  flex: 0 1 40px;
}

.swp_search_popupbuttons {
  margin-top: 20px;
  margin-bottom: 40px;
}

.swp_publishdetails {
  margin-top: 15px;
  padding: 12px 15px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
}

.swp_publishdetails b {
  color: #374151;
  font-weight: 600;
}

.swp_search_popupheader>h2 {
  width: 80%;
  background-color: #efefef;
  color: #000000;
  font-weight: bold;
  text-align: center;
  text-shadow: #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  -webkit-font-smoothing: antialiased
}

.swp_search_popupcontent {
  overflow-x: auto;
  max-height: 95%;
  text-align: center;
}

.swp_popupcontent {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 95%;
  max-width: 100%;
  position: relative;
}

.swp_cpopupcontent {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 100%;
  max-width: 100%;
  position: relative;
}

.swp_totop {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 50px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #555;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
}

.swp_totop:hover {
  background-color: #000000;
}

.swp_emediatitle {
  display: inline-block;
}

.swp_emediaicon {
  font-size: 20px;
  display: inline-block;
  margin-left: 5px;
  cursor: pointer;
}

.swp_emediaicon:hover {
  color: var(--accent1);
}

.swp_emediaid {
  display: none;
}

.swp_emediagtag {
  width: 420px;
}

.swp_shareformlines>* {
  margin-top: 20px;
}

.swp_popuptitle {
  font-size: 25px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.swp_popuptitlealt {
  display: inline-block;
  max-width: 90%;
  font-size: 25px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  vertical-align: middle;
}

.swp_cp {
  cursor: pointer;
}

/* ===========================================
           CLOSE X BUTTON - Modern circular style
           =========================================== */
.swp_cpopupbody .swp_close {
  position: absolute;
  top: 15px;
  right: 30px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 50%;
  transition: all 0.2s ease;
  font-size: 24px;
  font-weight: 300;
  text-decoration: none;
  color: #6b7280;
  z-index: 1;
}

.swp_cpopupbody .swp_close:hover {
  background: #fef2f2;
  color: #ef4444;
  transform: rotate(90deg);
  transform-origin: center center;
}

.swp_popupbody .swp_close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 50%;
  transition: all 0.2s ease;
  font-size: 24px;
  font-weight: 300;
  text-decoration: none;
  color: #6b7280;
  line-height: 1;
}

.swp_popupbody .swp_close:hover {
  background: #fef2f2;
  color: #ef4444;
  transform: rotate(90deg);
  transform-origin: center center;
}

.swp_search_popupbody .swp_close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 50%;
  transition: all 0.2s ease;
  font-size: 24px;
  font-weight: 300;
  text-decoration: none;
  color: #6b7280;
}

.swp_search_popupbody .swp_close:hover {
  background: #fef2f2;
  color: #ef4444;
  transform: rotate(90deg);
  transform-origin: center center;
}

.swp_popupcontent::-webkit-scrollbar-track,
.swp_pb::-webkit-scrollbar-track {
  margin-top: 2px;
  margin-bottom: 2px;
  /*border: 1px solid #000;*/
  padding: 2px 0;
  background-color: transparent;
  /*background-color: #404040;*/
  /*border-radius: 10px;*/
  border-radius: 2px;
}

.swp_popupcontent::-webkit-scrollbar,
.swp_pb::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  cursor: grab;
}

.swp_popupcontent::-webkit-scrollbar-thumb,
.swp_pb::-webkit-scrollbar-thumb {
  border-radius: 4px;
  /*box-shadow: inset 0 0 6px rgba(0,0,0,.3);*/
  /*background-color: #ffffff;*/
  background-color: #404040;
  /*background: rgb(64, 64, 64, 0.4);*/
  border: 1px solid #000;
  cursor: grab;
}

.swp_popupcontent::-webkit-scrollbar-button,
.swp_pb::-webkit-scrollbar-button {
  display: none;
  margin: 5px;
  border-radius: 10px;
  background-color: #404040;
  color: #ffffff;
}







.swp_warning_popupbody {
  /*margin: 70px;*/
  padding: 40px;
  background: #e74c3c;
  /*border-radius: 5px;*/
  /*width: 90%;*/
  height: 100%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popupbody h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}

.swp_close {
  cursor: pointer;
}

.swp_dclose {
  cursor: pointer;
  float: right;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 50%;
  transition: all 0.2s ease;
  font-size: 20px;
  font-weight: 300;
  text-decoration: none;
  color: #6b7280;
}

.swp_dclose:hover {
  background: #fef2f2;
  color: #ef4444;
  transform: rotate(90deg);
  transform-origin: center center;
}

.swp_warning_popupbody .swp_close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.swp_filterbody .swp_close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.swp_warning_popupcontent {
  text-align: center;
}

.swp_deletetext {
  display: block;
  color: #ffffff;
  margin: 20px;
  font-size: 40px
}

/* ===========================================
   TEXT TABS - tab bar on own row
   Parent: .swp_popup_tabs
   =========================================== */
.swp_popup_tabs {
  display: block;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 12px;
  padding: 0;
}

.swp_popup_tab {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: -2px;
  background-color: transparent;
  color: #6b7280;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.swp_popup_tab:hover {
  color: #374151;
  border-bottom-color: #d1d5db;
}

.swp_popup_tabselected {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: -2px;
  background-color: transparent;
  color: var(--accent1, #0073aa);
  border: none;
  border-bottom: 2px solid var(--accent1, #0073aa);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ===========================================
           ICON TABS - Pill button tabs
           Parent: .swp_popup_tabsalt (inline with title)
           =========================================== */
.swp_popup_tabsalt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  padding: 2px 2px 2px 10px;
  margin-left: 10px;
  vertical-align: middle;
}

.swp_popup_taba,
.swp_popup_tabaselected {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 32px;
  padding: 0 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.15s ease;
  color: #64748b;
  background: transparent;
  border: none;
  white-space: nowrap;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.swp_popup_taba:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #334155;
}

.swp_popup_tabaselected {
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.swp_popup_tabaselected:hover {
  background: #fff;
  color: #1e293b;
}

.swp_popup_taba i,
.swp_popup_tabaselected i {
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
}

/* Action toolbar buttons inside tab bar */
.swp_popup_tabsalt .swp_db_tbuttons,
.swp_popup_tabsalt .swp_db_fbuttons {
  align-items: center;
  align-self: stretch;
  overflow: hidden;
  gap: 4px;
  padding: 0 8px 0 6px;
  margin-left: 4px;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  border-radius: 0;
}

.swp_popup_tabsalt .swp_db_tbuttons::before,
.swp_popup_tabsalt .swp_db_fbuttons::before {
  display: none;
}

.swp_popup_tabcontent {
  display: none;
}

.swp_popup_tabcontentselected {
  display: block;
  /*max-height:450px;
            overflow: auto;*/
}

.swp_twocolumns {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  display: inline-block;
  width: 45%;
  vertical-align: top;
}

.swp_warningbutton {
  color: #ffffff;
  background-color: #c0392b;
  margin: 2px;
  cursor: pointer;
  border: 1px solid #c0392b;
  border-radius: 2px;
  padding: 5px 10px;
  font-size: 20px;
  font-family: 'Lato', sans-serif;
}

.swp_warningbutton:hover {
  background-color: #A5281B;
  color: #ffffff;
}

.swp_warningtitle {
  color: #ffffff;
}

.swp_popuptitlehr {
  background-color: var(--accent1);
  border: 1px solid var(--accent1);
  max-width: 100% !important;
}

.swp_warning_popuptitlehr {
  background-color: #ffffff;
  border: 1px solid #ffffff;
}

.swp_infoicon {
  position: relative;
  display: inline-block;
  font-size: 18px;
  cursor: pointer;
  margin-left: 10px;
  vertical-align: middle;
}

.swp_infoicon>* {
  display: inline-block;
  vertical-align: middle;
}



.swp_infoicon .swp_infotext {
  display: none;
  width: 90vw;
  color: black;
  text-align: left;
  border-radius: 6px;
  padding-left: 5px;
  /*position: absolute;*/
  z-index: 1;
  left: 20px;
  bottom: 0px;
  margin-left: 0px;
  background-color: white;
  opacity: 0;
  transition: opacity 1s;
  font-size: 14px;
  vertical-align: middle;
  line-height: 18px;
}

.swp_infoicon:hover .swp_infotext {
  display: inline-block;
  opacity: 1;
}

.swp_vsch_sactivities {
  display: none;
  margin: 10px 5px 10px 5px;
  border-radius: 4px;
  padding: 4px;
  width: 98%;
}

.swp_activity-item a {
  /* color: #65C6BB; */
  color: var(--accent1);
  text-decoration: none;
}

.swp_vsch_description {
  display: block;
  background-color: #efefef;
  color: #000000;
  padding: 10px;
  margin: 10px 5px 10px 5px;
  border-radius: 4px;
  width: 98%;
}

.swp_vevt_tbar>*,
.swp_vsch_tbar>* {
  max-width: 90%;
}

.swp_vevt_description {
  display: block;
  background-color: #efefef;
  color: #000000;
  padding: 10px;
  margin: 10px 5px 10px 5px;
  border-radius: 4px;
  width: 98%;
}

.swp_vevt_descriptor {
  margin-left: 5px;
}

.swp_vevt_roomd {
  display: inline-block;
  margin-top: 8px;
  margin-left: 2px;
  padding: 2px 5px 2px 5px;
  padding-right: 5px;
  margin-right: 2px;
  border: solid 1px #ffffff;
  border-radius: 5px;
  background-color: #efefef;
  color: #676767;
  cursor: pointer;
  line-height: 20px;
  font-size: 16px;
}

#swp_vevt_location {
  background-color: #efefef;
}

.swp_vevt_schedules {
  display: block;
  padding: 10px;
  margin: 10px 5px 10px 5px;
  border-radius: 4px;
  border: 2px solid #D3D3D3;
  width: 98%;
}

.swp_vevt_schedule {
  display: inline-block;
  margin-right: 10px;
}

.swp_tabletcontent {
  display: none;
  margin: 10px 5px 10px 5px;
  border-radius: 4px;
  padding: 4px;
  border: 2px solid #efefef;
  width: 98%;
}

.swp_tagscontent {
  display: block;
}

.swp_popuptags {
  display: inline-block;
  margin-top: 8px;
  margin-left: 2px;
  padding: 2px 5px 2px 5px;
  padding-right: 5px;
  margin-right: 2px;
  border: solid 1px #ffffff;
  border-radius: 5px;
  background-color: #efefef;
  color: #676767;
  cursor: pointer;
  line-height: 20px;
  font-size: 16px;
}

#swp_vevttitle {
  display: inline-block;
  vertical-align: middle;
}

#swp_vevtsubtitle {
  font-size: 25px;
  color: #000000;
  vertical-align: middle;
  margin-bottom: 7px;
  line-height: 44px;
}

.swp_vevtcontent {
  width: 100%;
  /*max-height: 425px;*/
  overflow: auto;
}

#swp_vevt_publishdetails {
  display: inline-block;
  vertical-align: middle;
  margin-top: 0px;
}

#swp_viewevent_button {
  display: inline-block;
  vertical-align: middle;
}

.swp_popuperror {
  margin-top: 20px;
  color: red;
  font-style: italic;
}

.select_singledropdown {
  min-height: 35px;
}

/*External cal urls*/
.swp_ecal {
  background-color: #efefef;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}

.swp_calname {
  margin-left: 5px;
  cursor: pointer;
}

.swp_calname>h4 {
  margin-top: 0px;
  margin-bottom: 5px;
}

.swp_calurl {
  margin-left: 10px;
}

.swp_caldelete {
  margin-left: 10px;
}

.swp_ecalevent {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #efefef;
  border-radius: 4px;
}

.swp_ecebutton {
  display: inline-block;
  margin-left: 10px;
}

.swp_ecaltitle {
  display: inline-block;
  margin-left: 10px;
}

.swp_ecebutton>button {
  display: inline-block;
  color: var(--accent1);
  border: solid 1px var(--accent1);
  border-radius: 4px;
  cursor: pointer;
}

.swp_ecebutton>button:hover {
  display: inline-block;
  background-color: var(--accent1);
  color: #ffffff;
  cursor: pointer;
}

/* ===========================================
   SAVE BUTTON - Primary action
   =========================================== */
.swp_save_button {
  background: var(--accent1, #0073aa);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  margin-right: 10px;
}

.swp_save_button:hover {
  filter: brightness(0.9);
}

/* ===========================================
   CLOSE BUTTON - Secondary action
   =========================================== */
.swp_close_button {
  display: inline-block;
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  margin-right: 10px;
}

.swp_close_button:hover {
  background: #eee;
}

/* ===========================================
   DELETE BUTTON - Destructive action
   =========================================== */
.swp_delete_button {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  margin-right: 10px;
}

.swp_delete_button:hover {
  filter: brightness(0.9);
}

/* ===========================================
   POST STATUS - Inline status indicator
   =========================================== */
.swp_poststatus {
  display: inline-block;
  margin-right: 10px;
}

.swp_poststatus>.select_singleframe {
  min-width: 100px;
}

/* ===========================================
   ATTACHMENTS - File attachment display
   =========================================== */
.swp_attachment {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 4px 8px;
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  color: #374151;
  font-size: 12px;
  transition: all 0.15s;
}

.swp_attachment:hover {
  background-color: #e5e7eb;
}

.swp_attachment>a,
.swp_attachment>a:hover,
.swp_attachment>a:visited,
.swp_attachment>a:active {
  color: inherit;
  text-decoration: none;
}

.swp_attachmenticon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  color: var(--accent1, #0073aa);
}

.swp_attchmentname,
.swp_attachmentname {
  display: inline-block;
  vertical-align: middle;
}

/* Delete button inside attachment - styled like close button */
.swp_rattachment {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  color: #6b7280;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.swp_rattachment:hover {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #ef4444;
}

/* ===========================================
   LOCATION DATA - Address fields
   =========================================== */
.swp_locationdata {
  display: block;
}

.swp_addressfield {
  display: block;
  margin-bottom: 8px;
}

.swp_locationdata .swp_save_button {
  margin-top: 10px;
  margin-right: 8px;
  margin-left: 0;
}

/* ===========================================
   TAXONOMY BOXES - Series, Topic, Category, etc.
   =========================================== */
.swp_seriesbox,
.swp_topicbox,
.swp_categoriesbox,
.swp_projectsbox {
  margin-bottom: 12px;
}

.swp_roombox,
.swp_groupbox,
.swp_addressfields,
.swp_eventdetails {
  margin-bottom: 18px;
}

.swp_taxonomy_input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swp_taxonomy_input>.select_multiframe {
  flex: 1;
}

/* ===========================================
   SCHEDULE LIST TAB - Schedule selection & list
   =========================================== */
.swp_schedulelist {
  margin-bottom: 12px;
}

.swp_bottombuttons {
  margin-bottom: 15px;
}

.swp_schedulelists {
  display: block;
  margin: 10px 0;
}

.swp_schedule {
  min-height: 40px;
  background-color: #f3f4f6 !important;
  margin-bottom: 5px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #374151;
  display: block;
}

.swp_schedulerow {
  background-color: #ffffff;
  display: block;
  border-radius: 3px;
  padding: 10px;
  margin-top: 5px;
}

.swp_schedulerow:last-child {
  border-bottom: none;
}

.swp_schid {
  display: none;
}

.swp_schtitle {
  display: inline-block;
  margin-top: 5px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-weight: 500;
  color: #374151;
}

.swp_editschedule {
  float: right;
  margin-top: 8px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.swp_editschedule .swp_save_button {
  padding: 4px 10px;
  font-size: 12px;
  margin-left: 4px;
}

/* Popup row for date/time layout */
.swp_popuprow {
  margin-bottom: 12px;
}

.swp_popuprow>div {
  margin-right: 20px;
  margin-bottom: 8px;
  color: #374151;
  font-size: 13px;
}

.swp_popuprow input[type="checkbox"] {
  vertical-align: middle;
  margin-left: 5px;
}

/* ===========================================
   ADD TAXONOMY - New item input
   =========================================== */
.swp_add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.15s;
}

.swp_add:hover {
  background: var(--accent1, #0073aa);
  border-color: var(--accent1, #0073aa);
  color: #fff;
}

.swp_addtaxbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.swp_newtaxinput {
  flex: 1;
}

.swp_addtaxbutton {
  display: inline-block;
  background: var(--accent1, #0073aa);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.swp_addtaxbutton:hover {
  filter: brightness(0.9);
}


/* ===========================================
   ICON TABS - Mobile layout
   =========================================== */
@media (max-width: 768px) {
  .swp_popup_tabsalt {
    display: flex;
    width: fit-content;
    flex-wrap: wrap;
    overflow-x: visible;
    margin: 4px 0;
    margin-left: 0;
  }

  .swp_popup_tabsalt .swp_popup_taba,
  .swp_popup_tabsalt .swp_popup_tabaselected {
    padding: 6px 12px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .swp_popup_tabsalt .swp_popup_taba i,
  .swp_popup_tabsalt .swp_popup_tabaselected i {
    font-size: 16px;
  }

  /* Action button groups drop to a second row */
  .swp_popup_tabsalt .swp_db_tbuttons,
  .swp_popup_tabsalt .swp_db_fbuttons {
    flex-basis: 100%;
    width: 100%;
    margin-left: 0;
    padding: 3px 4px;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    justify-content: flex-start;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 700px) {
  .box {
    width: 70%;
  }

  .swp_popupbody {
    padding: 5px 10px 5px 10px;
  }

  .swp_popupbodyda {
    width: calc(100% - 20px);
    height: calc(100% - 10px);
    top: 0;
    margin-top: 0px;
    left: 0;
    margin-left: 0px;
    padding: 5px 10px 5px 10px;
  }

  .swp_totop {
    right: 30px;
  }
}
/* Schedule Details tab (tab 51) field styling */
.swp_taxonomy_section { padding: 8px 16px; }
.swp_popup_label { display: block; font-size: 12px; font-weight: 600; color: #6b7280; margin-bottom: 4px; letter-spacing: 0.3px; }
.swp_sch_metagrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 8px 16px; }
.swp_sch_metarow { display: flex; flex-direction: column; gap: 4px; }
.swp_sch_metarow label { font-size: 12px; font-weight: 600; color: #6b7280; }

