/* ==========================================
   MAIN CONTAINER
========================================== */

.academy-tabs {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: #ffffff;
  box-sizing: border-box;
}


/* ==========================================
   HIDE RADIO BUTTONS
========================================== */

#academy-tab-mp,
#academy-tab-mps {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}


/* ==========================================
   TAB BUTTON CONTAINER
========================================== */

.academy-tab-buttons {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 8px;
  margin: 0 0 25px 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}


/* ==========================================
   TAB BUTTON STYLING
========================================== */

.academy-tab-buttons label {
  display: flex !important;
  flex: 1 1 0 !important;

  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;

  align-items: center !important;
  justify-content: center !important;

  height: 60px !important;
  min-height: 60px !important;

  margin: 0 !important;
  padding: 0 15px !important;

  background: #383838 !important;
  color: #ffffff !important;

  text-align: center !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;

  cursor: pointer !important;
  box-sizing: border-box !important;

  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 4px 4px 0 0 !important;

  position: relative;
  z-index: 2;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}


/* ==========================================
   HOVER EFFECT
========================================== */

.academy-tab-buttons label:hover {
  background: #505050 !important;
}


/* ==========================================
   ACTIVE TAB BUTTONS
========================================== */

body:has(#academy-tab-mp:checked)
.academy-tab-buttons label[for="academy-tab-mp"],
body:has(#academy-tab-mps:checked)
.academy-tab-buttons label[for="academy-tab-mps"] {
  background: #e63329 !important;
  color: #ffffff !important;
  border-bottom: 3px solid #ffffff !important;
}


/* ==========================================
   HIDE BOTH APPLICATION FORMS
========================================== */

#academy-panel-mp,
#academy-panel-mps {
  display: none !important;
  width: 100%;
  padding: 15px 0;
  color: #ffffff;
  box-sizing: border-box;
}


/* ==========================================
   SHOW ART HOUSE ACADEMY APPLICATION
========================================== */

body:has(#academy-tab-mp:checked)
#academy-panel-mp {
  display: block !important;
}


/* ==========================================
   SHOW ABBEY ROAD INSTITUTE APPLICATION
========================================== */

body:has(#academy-tab-mps:checked)
#academy-panel-mps {
  display: block !important;
}


/* ==========================================
   FORM HEADINGS
========================================== */

#academy-panel-mp h3,
#academy-panel-mps h3 {
  color: #ffffff !important;
  margin: 15px 0 20px !important;
}


/* ==========================================
   FORM DESCRIPTION
========================================== */

#academy-panel-mp p,
#academy-panel-mps p {
  color: #ffffff !important;
  line-height: 1.7;
  margin-bottom: 25px;
}


/* ==========================================
   FORM LINKS
========================================== */

#academy-panel-mp a,
#academy-panel-mps a {
  color: #ff352c;
}

#academy-panel-mp a:hover,
#academy-panel-mps a:hover {
  color: #ff6b63;
}


/* ==========================================
   APPLICATION IFRAMES
========================================== */

#academy-panel-mp iframe,
#academy-panel-mps iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 1792px;
  border: none;
}


/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 600px) {

  .academy-tabs {
    width: 100% !important;
    padding: 0 12px !important;
  }

  .academy-tab-buttons {
    flex-direction: row !important;
    gap: 6px;
    margin-bottom: 20px !important;
  }

  .academy-tab-buttons label {
    flex: 1 1 0 !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 70px !important;

    padding: 10px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  #academy-panel-mp,
  #academy-panel-mps {
    padding: 10px 0;
  }

  #academy-panel-mp h3,
  #academy-panel-mps h3 {
    font-size: 20px;
  }
}