/* ----------------  IMPORTS AND BASIC ---------------- */
/* IESC page styles: the reference component sheet, re-themed to the IESC "sky to mantle" design.
   Design tokens (--ink, --paper, --font, ...) come from menu_footer.css, which loads first. */


:root {
  /* reference variable names, mapped to the IESC palette */
  --void-bg: #F3F4F1;
  --void-deep: #E9EAE5;
  --star-blue: #0B6378;
  --nebula-purple: #E4572E;
  --border-glow: rgba(30, 27, 24, .24);
  --text-bright: #1E1B18;
  --text-dim: #4A4540;
  --glitch-red: #E4572E;
  --glitch-cyan: #0B6378;

  --primary-color: #0B6378;
  --background-section-color: #F3F4F1;
  --background-infobox: #FBFBF9;
  --color-gold: #E4572E;

  --nd-bg-color: #F3F4F1;
  --nd-bg-light: #FBFBF9;
  --nd-bg-dark: #E9EAE5;
  --nd-text-primary: #1E1B18;
  --nd-text-secondary: #4A4540;
  --nd-accent-primary: #0B6378;
  --nd-accent-secondary: #E4572E;
  --nd-glass-bg: #FBFBF9;
  --nd-glass-border: #1E1B18;
  --nd-font-heading: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --nd-font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --nd-gradient-gold: linear-gradient(135deg, #0B6378 0%, #0B6378 100%);
  --nd-gradient-blue: linear-gradient(135deg, #0B6378 0%, #0B6378 100%);

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}


html,body {margin: 0; padding: 0; font-family: var(--font); font-weight: 300;}

html {
  /* background: hsl(0deg 0% 0% / 95%); */
  
  /* background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  
  -webkit-background-size: cover;
  -webkit-background-repeat: no-repeat;
  -webkit-background-position: center center;
  -webkit-background-attachment: fixed;
  
  -moz-background-size: cover;
  -moz-background-repeat: no-repeat;
  -moz-background-position: center center;
  -moz-background-attachment: fixed;
  
  -o-background-size: cover;
  -o-background-repeat: no-repeat;
  -o-background-position: center center;
  -o-background-attachment: fixed;
   */
  height: 100%;
  width: 100%;
}

@media only screen and (max-width: 1200px) {
  html {
    /* background-image: url("../src/bg_mobile.jpg"); */
      }
}

body {
  background-color: var(--void-bg);
  color: var(--text-bright);
  text-align: center;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
@media only screen and (max-width: 1200px) {
  
body,html {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}}


a {
  color: inherit;
  text-decoration: none;
}

.mobile-br {
  display: none;
}

.mobile-show {
  display: none;
}


@media only screen and (max-width: 1200px) {.mobile-br {
  display: inline;
}}
@media only screen and (max-width: 1200px) {.mobile-hide {
  display: none !important;
}}
@media only screen and (max-width: 1200px) {.mobile-show {
  display: block !important;
}}






/* ----------------  WELCOME ---------------- */

.welcome {
  margin-top: 32vh;
  height: 70vh;
}
@media only screen and (max-width: 1200px) {.welcome {
  margin-top: 15vh;
  height: auto;
}}

.welcome h1 {
  font-size: 55px;
  margin: 0;
  color: white;
  font-weight: 900;
  color: transparent;
  background: white;
  background: url("../src/img5.jpg") repeat;
  background-position: 60% 70%;
  -webkit-background-clip: text;
  position:relative;
  text-align:center;
}


@media only screen and (max-width: 1200px) {.welcome h1 {
  font-size: 15vw;
}}

.welcome .horizontal-bar-wrapper {
  width: 100%;
}

.welcome .horizontal-bar {
  border-bottom: 2px solid white;
  width: 100px;
  display: inline-block;
  margin: 40px;
}
@media only screen and (max-width: 1200px) {.welcome .horizontal-bar {
  border-bottom: 0.5vw solid white;
  width: 20vw;
  margin: 10vw;
}}

.welcome p {
  color: white;
  margin: 0;
  width: 900px;
  display: inline-block;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  text-shadow: 1px 1px 4px black;
}
@media only screen and (max-width: 1200px) {.welcome p {
  font-size: 5.5vw;
  line-height: 8vw;
  width: 85%;
}}
/* 
.welcome .competition-button {
  display: inline-block;
  width: 220px;
}
@media only screen and (max-width: 1200px) {.welcome .competition-button {
  font-size: 5vw;
  width: 65vw;
  padding: 2vw;
  margin-bottom: 20vw;
}} */

#video iframe {
  width: 900px;
  height: 509px;
  border: 2px solid white;
}

@media only screen and (max-width: 1200px) {
  #video iframe {
  width: 90vw;
  height: 50vw;
}
  
  .welcome #subscriptionFront input {
  font-size: 4vw;
  padding: 2vw;
}}

/* ----------------  SECTIONS ---------------- */

section {
  display: inline-block;
  width: 100%;
  padding: 8rem 0;
  position: relative;
  z-index: 1;
  /* Semi-transparent dark blue */
  background: transparent;
  color: var(--text-bright);
  border-top: 1px solid rgba(52, 152, 219, 0.15);
}

/* First section after navbar doesn't need top border */
section:first-of-type {
  border-top: none;
  padding-top: 10rem; /* Extra padding to account for fixed navbar */
}
@media only screen and (max-width: 1200px) {section {
  padding: 15vw 0;
}
                                            section:first-of-type {
                                              padding-top: 0;
                                            }
                                           }

.section-transparent {
  /* background: rgba(16, 27, 46, 0.8); */

}

/* Modern section container */
.panel {
  min-height: auto;
  width: 100%;
  display: block;
  position: relative;
  padding: 100px 5%;
  box-sizing: border-box;
}

/* theme section transitions */
#participation, #qualification {
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.5) 0%, rgba(11, 19, 33, 0.8) 100%);
}

#faq {
  background: linear-gradient(180deg, rgba(11, 19, 33, 0.8) 0%, rgba(5, 6, 10, 1) 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.content-wrapper {
  display: inline-block;
  width: 900px;
  text-align: justify;
  font-size: 18px;
  /* text-shadow: 1px 1px 1px hsla(0,0%,0%,1); */
  line-height: 35px;
  /* theme glassmorphic styling */
  background: #FBFBF9;
  border: 1px solid rgba(52, 152, 219, 0.25);
  border-radius: 2px;
  backdrop-filter: blur(10px);
  padding: 3rem 4rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
@media only screen and (max-width: 1200px) {.content-wrapper {
  width: 90%;
  font-size: 5vw;
  line-height: 8vw;
  text-align: left;
  padding: 1.5rem 1.5rem;
}}

section .content-wrapper p {
  margin-bottom: 55px;
  /* text-shadow: 1px 1px 2px black; */
}
@media only screen and (max-width: 1200px) {section .content-wrapper p {
  margin-bottom: 15vw;
}}

/* Content wrapper h4 subheadings */
.content-wrapper h4,
.content-wrapper p h4 {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--star-blue, #3498db);
  margin: 2rem 0 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--star-blue, #3498db);
}

section .content-wrapper .subsection {
  font-weight: 400;
  text-align: center;
  margin-bottom: 65px;
}

/* Deadline Info Box Style */
.deadline-color {
  display: inline-block;
  background: linear-gradient(135deg, rgba(198, 40, 40, 0.08) 0%, rgba(244, 67, 54, 0.05) 100%);
  border: 1px solid rgba(198, 40, 40, 0.25);
  border-left: 4px solid #c62828;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  color: #b71c1c;
  font-weight: 600;
  position: relative;
  margin: 0.5rem 0;
}

.deadline-color::before {
  content: '\f017';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 0.5rem;
  color: #c62828;
}

@media only screen and (max-width: 1200px) {
  .deadline-color {
    display: block;
    padding: 3vw 4vw;
    font-size: 4.5vw;
    margin: 3vw 0;
  }
}

h1, h2, h3, h4, .logo {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 50px;
  margin: 0;
  margin-top: 50px;
  line-height: 60px;
  font-weight: 700;
  color: var(--text-bright);
}
@media only screen and (max-width: 1200px) {h2 {
  font-size: 12vw;
  line-height: 15vw;
  margin-top: 20vw;
}}

/* Section Title Styling */
.section-title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title span {
  color: var(--star-blue);
}

.section-title small {
  font-size: 1.2rem;
  color: var(--text-dim);
  display: block;
  margin-top: 0.5rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 700px;
  margin: -2rem auto 4rem auto;
  text-align: center;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 3rem;
}

h3 {
  font-size: 30px;
  margin: 0;
  text-align: center;
  font-weight: 600;
  color: var(--star-blue);
}
@media only screen and (max-width: 1200px) {h3 {
  font-size: 7vw;
  padding-bottom: 7vw;
  margin-top: 5vw;
}}


h4 {
  font-size: inherit;
  margin: 3px 0;
  font-weight: 600;
  color: var(--text-bright);
}
@media only screen and (max-width: 1200px) {h4 {
  font-size: 6vw;
}}

h4 i {
  padding-right: 4px;
}
@media only screen and (max-width: 1200px) {h4 i {
  font-size: 5.5vw;
  padding-right: 2vw;
}}


.icon-padding {
  padding-right: 4px;
}
@media only screen and (max-width: 1200px) {.icon-padding {
  font-size: 3vw;
  padding-right: 3vw;
}}


@media only screen and (max-width: 1200px) {i .fa-question-circle, b .fa-ban, b .fa-check-circle {
  padding-right: 30px;
}}

.center-wrapper {
  text-align: center;
}

/* Content wrapper h2 headings */
.content-wrapper h2,
.center-wrapper h2 {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* Horizontal bar replacement */
.horizontal-bar-inline {
  display: none; /* headings have no accent bars */
}

.text-emphasis {
  font-weight: bold;
  color: hsl(0deg 0% 19.94%);
  /* background: hsl(0deg 0% 0% / 17%); */
  padding: 5px 10px;
  font-weight: 400 !important;
}
@media only screen and (max-width: 1200px) {.text-emphasis {
  font-size: 5vw;
}}

/* ----------------  Section : PROCESS AND ROUNDS ---------------- */

#process {
  padding-bottom: 0px;
}

#process h3 {
  margin-bottom: 50px;
}

#process h4 {

}

.process-step {
  display: inline-block;
  width: 900px;
  margin-bottom: 80px;
  color: var(--nd-text-primary);
}

.process-step-no {
  float: left;
  padding: 38px 40px;
  font-size: 50px;
  border-radius: 1000px;
  font-weight: 600;
  border: 2px solid var(--nd-accent-primary);
  position: relative;
  background: var(--nd-gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--nd-font-heading);
}
@media only screen and (max-width: 1200px) {.process-step-no {
  font-size: 11vw;
  padding-right: 4vw;
  border-radius: 100vw;
  padding: 5vw;
  font-size: 14vw;
}}

#process-step-no1:after {background-image: url('../src/step1.jpg');}
#process-step-no2:after {background-image: url('../src/step2.jpg');}
#process-step-no3:after {background-image: url('../src/step3.jpg');}

.process-step-no:after {
    border-radius: 1000px;
    content : "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    opacity : 0.6;
    z-index: -1;
}

.process-step-content {
  display: inline-block;
  width: 700px;
  margin-left: 50px;
  margin-top: 0px;
  text-align: justify;
  padding: 20px 25px;
  background: var(--nd-glass-bg);
  border: 1px solid var(--nd-glass-border);
  border-radius: 8px;
  color: var(--nd-text-primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--nd-accent-primary);
}
@media only screen and (max-width: 1200px) {.process-step-content {
  width: 60vw;
  font-size: 4.5vw;
  line-height: 7vw;
  text-align: left;
  margin-left: 2vw;
}}


.interview-h4 {
  font-size: 23px;
}
@media only screen and (max-width: 1200px) {.interview-h4 {
  font-size: 5vw;
}}


.process-step-content .timer-content {
  font-weight: 400;
}

@media only screen and (max-width: 1200px) {.process-step-content .competition-button {
  font-size: 4vw;
  padding: 2vw 11vw;
  margin-left: 0vw;
  width: 890vw;
}}

/* ----------------  Section : QUALIFICATION ROUND ---------------- */

.timer {
  text-align: center;
  margin: 40px 0;
}

.timer span {
  font-weight: 400;
  font-size: 35px;
  background: hsla(0,0%,0%,0.45);
  padding: 5px 35px;
  border-radius: 100px;
}
@media only screen and (max-width: 1200px) {.timer span {
  font-size: 5.5vw;
}}

.iframe-wrapper {
  text-align: center;
  margin: 40px 0;
}

.iframe-wrapper iframe {
  display: inline-block;
  width: 80%;
  height: 700px;
}
@media only screen and (max-width: 1200px) {.iframe-wrapper iframe {
  /* height: 100vw; */
  display: none;
}}

.p-button-wrapper {
  text-align: center;
  margin-top: 40px;
}
@media only screen and (max-width: 1200px) {.p-button-wrapper {
  margin-top: 10vw;
}}


#qualification .competition-button {
  padding: 10px 50px;
  margin-top: 30px;
  font-size: 20px;
}
@media only screen and (max-width: 1200px) {#qualification .competition-button {
  
}}

/* ----------------  Section : FAQ ---------------- */

#faq h4 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 25px;
}
@media only screen and (max-width: 1200px) {#faq h4 {
  font-size: 6vw;
}}

.question-wrapper {
  background: hsla(0, 0%, 0%, 0.65);
  padding: 10px 20px;
  border-radius: 5px;
  margin-bottom: 15px;
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.4s ease, background 0.3s ease;
  cursor: pointer;
}

.question-wrapper:hover {
  background: hsla(0, 0%, 0%, 0.75);
}

.question-wrapper.expanded {
  max-height: 2000px;
  transition: max-height 0.6s ease;
}

@media only screen and (max-width: 1200px) {
  .question-wrapper {
    font-size: 4.5vw;
    max-height: 14vw;
    line-height: 6vw;
  }

  .question-wrapper.expanded {
    max-height: 5000px;
  }
}

.question {
  cursor: pointer;
  transition: color 0.2s ease;
  font-weight: 500;
  user-select: none;
}

.question:before {
  content: "+ ";
  display: inline-block;
  width: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.question-wrapper.expanded .question:before {
  content: "- ";
}

.question:hover {
  color: hsl(220, 80%, 80%);
}

.answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, max-height 0.4s ease;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  line-height: 1.6;
}

.question-wrapper.expanded .answer {
  max-height: 2000px;
  opacity: 1;
}


/* ----------------  Section : MATERIALS ---------------- */

#materials a {
  color: white;
  font-weight: 400;
  text-decoration: none;
}
#materials a:hover {
  text-decoration: none;
}

.content-wrapper .document {
  background: hsla(0,0%,0%,0.4);
  display: inline-block;
  padding: 5px 10px;
  margin: 6px 4px;
  cursor: pointer;
  transition: 0.1s background, 0.1s transform;
}
@media only screen and (max-width: 1200px) {.content-wrapper .document {
  width: 90%;
  font-size: 4.5vw;
  padding: 2vw 0;
  margin: 1vw 0;
}}

.document:hover {
  transform: scale(1.05);
}

#materials .content-wrapper {
  text-align: center;
}

/* ----------------  TEACHER, AMBASSADOR ---------------- */

@media only screen and (max-width: 1200px) {#teachers .competition-button, #ambassador .competition-button {

}}





/* ----------------  SUBMISSION FORM ---------------- */

.submission-form h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 20px 0;
  line-height: 1.7;
  color: var(--nd-text-secondary);
  font-family: var(--nd-font-body);
  text-align: left;
  background: linear-gradient(135deg, rgba(11, 99, 120, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
  border-left: 4px solid var(--nd-accent-primary);
  padding: 1.2rem 1.5rem;
  border-radius: 0 8px 8px 0;
}

.submission-form h3 a {
  color: var(--nd-accent-primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.submission-form h3 a:hover {
  color: var(--nd-text-primary);
}

@media only screen and (max-width: 1200px) {.submission-form h3 {
  font-size: 4.2vw;
  line-height: 7vw;
  padding: 4vw 5vw;
}}

.submission-form h4 {
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 20px;
}
@media only screen and (max-width: 1200px) {.submission-form h4 {
  font-size: 5vw;
}}

.submission-form input, .submission-form select {
  width: 100%;
  font-size: 18px;
  box-sizing: border-box;
}
@media only screen and (max-width: 1200px) {.submission-form input, .submission-form select {
  font-size: 5vw;
}
                                            .submission-form .select-birth {
                                              width: 32% !important;
                                            }
                                           }

.submission-form input[type='file'] {
  width: 100%;
  box-sizing: border-box;
}
@media only screen and (max-width: 1200px) {.submission-form input[type='file'] {
  padding: 2vw;
}}

.submission-form input[type='submit'] {
  width: 400px;
}
@media only screen and (max-width: 1200px) {.submission-form input[type='submit'] {
  width: 90%;
  /* height: 10vw; */
}}

.submission-form input[type='checkbox'] {
  width: 30px;
  height: 15px;
  float: left;
  margin-top: 6px;
  box-shadow: none;
}
@media only screen and (max-width: 1200px) {.submission-form input[type='checkbox'] {
  height: 5vw;
}}

.submission-form textarea {
  max-width: 98%;
  min-width: 98%;
  height: 100px;
  margin-bottom: 10px;
  border: 1px solid #000000;
  box-shadow: 5px 5px 0 0 black;
  outline: none;
  padding: 1%;
  font-family: Roboto;
  font-size: 16px;
}
@media only screen and (max-width: 1200px) {.submission-form textarea {
  height: 20vw;
}}

.submission-form select {
  width: 100%;
  box-sizing: border-box;
}

.submission-form p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--nd-text-secondary);
  margin-bottom: 35px;
  margin-top: 12px;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--nd-glass-border);
  border-radius: 8px;
  font-family: var(--nd-font-body);
  position: relative;
}

.submission-form p b {
  color: var(--nd-text-primary);
  font-weight: 600;
}

.submission-form p a {
  color: var(--nd-accent-primary);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.submission-form p a:hover {
  border-bottom-color: var(--nd-accent-primary);
}

.submission-form p i {
  color: var(--nd-accent-primary);
  margin-right: 0.3rem;
}

@media only screen and (max-width: 1200px) {.submission-form p {
  font-size: 3.8vw;
  line-height: 6vw;
  padding: 4vw 5vw;
  margin-bottom: 8vw;
}}

.submission-form .select-birth {
  width: 32.8%;
}

.interface-box .select-birth {
  width: 31.8%;
}

.rules-check-span {
  float: left;
  width: 90%;
}
@media only screen and (max-width: 1200px) {.rules-check-span {
  font-size: 4vw;
  padding-left: 2vw;
  float: none;
}}

.recaptcha-wrapper {
  text-align: center;
}

.g-recaptcha {
  display: inline-block;
}
@media only screen and (max-width: 1200px) {.g-recaptcha {
  margin-top: 6vw;
  /* transform: scale(2); */
}}

section .fail-msg {
  border-left: 1px solid hsl(0 80% 66% / 1) !important;
  color: hsl(0 80% 65% / 1) !important;
  background: #ff000024 !important;
}

.flag_inline {
  height: 12px;
  margin-right: 10px;
}

/* ----------------  LOGIN PAGE - NEW DESIGN ---------------- */

.login-menu {
  background: transparent;
  border: none;
  padding: 15px;
  z-index: 10;
  height: auto !important;
}
@media only screen and (max-width: 1200px) {.login-menu {
  /* background: rgba(255, 255, 255, 0.95); */
  backdrop-filter: blur(10px);
}}

.login-menu img {
  padding: 0 !important;
  height: 70px !important;
  /* transform:  translateY(80px); */
  filter: none;
}
@media only screen and (max-width: 1200px) {
  .login-menu {
  padding: 0px !important;
  padding-bottom: 2em !important;
}
  .login-menu img {
    padding: 0;
    margin: 0;
  height: 19vw !important;
  margin-top: 13vw !important;
  margin-left: 2.5vw !important;
  margin-bottom: 1vw !important;
  transform:  translateY(0px);
}

  
}

.login-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}
.login-footer span {
  margin-right: 20px;
}

.login-box {
  width: 450px;
  background: var(--nd-bg-light);
  border: 1px solid var(--nd-glass-border);
  border-radius: 8px;
  padding: 40px;
  font-size: 16px;
  text-align: left;
  font-weight: 300;
  font-family: var(--nd-font-body);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
@media only screen and (max-width: 1200px) {.login-box {
  width: 90%;
  padding: 5%;
  font-size: 6vw;
  line-height: 12vw;
  margin-top: 7.3vw;
  margin-bottom: 20vw;
  padding-top: 0;
}}

.login-box h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: var(--nd-font-heading);
  font-weight: 700;
  color: var(--nd-text-primary);
  text-align: center;
}
@media only screen and (max-width: 1200px) {.login-box h3 {
  font-size: 10vw;
}}

.login-box form {
  /* text-align: left; */
}

.login-box input, .login-box select {
  width: 91.5%;
  margin-bottom: 10px;
}
@media only screen and (max-width: 1200px) {.login-box input, .login-box select {
  width: 94%;
  font-size: 7vw;
}}

.login-box select {
  width: 100%;
}

.login-box input[type='submit'], .login-box .competition-button {
  width: 98%;
  margin: 0;
  margin-top: 10px;
  margin-bottom: 30px;
}
@media only screen and (max-width: 1200px) {.login-box input[type='submit'], .login-box .competition-button {
  padding: 1vw;
  width: 100%;
  /* border: 2px solid white; */
}}

.login-box span {
  font-size: 13px;
  /* color: hsl(220,80%,80%); */
  margin-bottom: 30px;
}
@media only screen and (max-width: 1200px) {.login-box span {
  font-size: 5vw;
}}

.login-box span i {
  font-size: 13px;
}
@media only screen and (max-width: 1200px) {.login-box span i {
  font-size: 4vw;
}}

.login-box .or-line {
  border-bottom: 1px solid #000000;
  height: 12px;
  width: 80px;
  /* float: left; */
  display: inline-block;
  margin-bottom: 5px;
  border-color: var(--nd-glass-border);
}
@media only screen and (max-width: 1200px) {.login-box .or-line {
  width: 35.5vw;
  border-bottom: 0.4vw solid rgb(0, 0, 0);
  height: 6vw;
}}

.login-box .or-or {
  /* float: left; */
  display: inline;
  padding: 0 8px;
  font-weight: 400;
}
@media only screen and (max-width: 1200px) {.login-box .or-or {
  width: 15vw;
  padding: 0 1.6vw;
}}

.login-box .competition-button {
  /* font-size: 14px; */
  margin: 0 !important;
  /* padding-left: 70px !important; */
  /* padding-right: 70px !important; */
  width: 60%;
}
@media only screen and (max-width: 1200px) {.login-box .competition-button {
  /* font-size: 7vw; */
  /* padding: 1.5vw 15vw; */
}}

.login-box .competition-button i {
  /* font-size: 12px; */
}
@media only screen and (max-width: 1200px) {.login-box .competition-button i {
  /* font-size: 6vw; */
}}


section .login-box p {
  margin-bottom: 0px;
}

.error-message {
  color: #a31010;
  text-align: center;
  margin-bottom: 15px;
}

.success-message {
  color: green;
  text-align: center;
  margin-bottom: 15px;
}

/* ----------------  INTERFACE ---------------- */

.interface-box {
  /* background: rgba(255, 255, 255, 0.95); */
  padding: 50px;
  border-radius: 12px;
  width: 700px;
  border: 1px solid var(--nd-glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
@media only screen and (max-width: 1200px) {.interface-box {
  width: 90%;
  padding: 5%;
  font-size: 5vw;
  line-height: 8vw;
  margin-top: 19vw;
}}

.interface-box .interface-title {
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--nd-accent-primary);
  font-size: 1.4rem;
  font-family: var(--nd-font-heading);
  color: var(--nd-text-primary);
}
@media only screen and (max-width: 1200px) {.interface-box .interface-title {
  font-weight: bold;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 2px solid var(--nd-accent-primary);
  font-size: 6vw;
}}

.interface-title span {
  float: right;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--nd-font-body);
  color: var(--nd-accent-primary);
  transition: color 0.3s ease;
}

.interface-title span:hover {
  color: var(--nd-accent-secondary);
}

@media only screen and (max-width: 1200px) {.interface-title span {
  width: 100%;
  text-align:right;
}}

.interface-title span i {
  font-size: 15px;
  padding-left: 5px;
}
@media only screen and (max-width: 1200px) {.interface-title span {
  font-size: 4vw;
} .interface-title span i {
  font-size: 4vw;
}}

.interface-box .participant-info {
  width: 230px;
  display: inline-block;
  font-weight: 500;
  line-height: 35px;
  color: var(--nd-text-secondary);
}
@media only screen and (max-width: 1200px) {.interface-box .participant-info {
  width: 100%;
  margin-top: 6vw;
  line-height: 8vw;
}}

.interface-box .new-round {
  border-top: 1px solid var(--nd-glass-border);
  margin-bottom: 10px;
  /* padding-top: 15px; */
  /* margin-top: 20px; */
}

section .interface-box i {
  padding-right: 4px !important;
  color: var(--nd-accent-primary);
}

.participant-info i {
  width: 20px;
  text-align: center;
}

@media only screen and (max-width: 1200px) {.participant-info i {
  width: 5vw;
}}


.interface-box .status-positive {
  color: #16a34a;
  font-weight: 600;
  display: block;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
  border-left: 4px solid #16a34a;
  border-radius: 4px;
  padding: 12px 18px;
  text-align: left;
  box-shadow: none;
}


.interface-box .status-yellow {
  color: #f57c00;
  font-weight: 600;
}


.interface-box .status-yellow-bg {
  color: #f57c00;
  margin: 10px 0;
  padding: 12px 15px;
  font-size: 17px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-left: 4px solid #f57c00;
  border-radius: 4px;
  box-shadow: none;
}

.interface-box .status-yellow-bg-small {
  color: #f57c00;
  margin: 8px 0;
  padding: 10px 12px;
  font-size: 15px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-left: 4px solid #f57c00;
  border-radius: 4px;
  box-shadow: none;
}

.interface-box .status-green-bg-small {
  color: #16a34a;
  margin: 8px 0;
  padding: 10px 12px;
  font-size: 15px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-left: 4px solid #16a34a;
  border-radius: 4px;
}

.interface-box .round-certificate {
  padding: 8px 16px;
  color: var(--nd-accent-primary);
  border: 1px solid var(--nd-accent-primary);
  border-radius: 4px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
}

.interface-box .round-certificate:hover {
  background: var(--nd-accent-primary);
  color: #000;
  box-shadow: 0 4px 15px rgba(11, 99, 120, 0.3);
}
@media only screen and (max-width: 1200px) {.interface-box .round-certificate {
  padding: 8px 24px;
  font-weight: 500;
}
.interface-box .round-certificate i {
  display: none;
}}



.interface-box .round-certificate i {
  font-size: 15px;
  margin-left: 5px;
  cursor: pointer;
}

.interface-box .list-element {
  background: var(--nd-glass-bg);
  padding: 12px 16px;
  margin: 12px 0;
  text-align: left;
  border: 1px solid var(--nd-glass-border);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.interface-box .list-element:hover {
  background: rgba(11, 99, 120, 0.05);
  border-color: rgba(11, 99, 120, 0.3);
}

@media only screen and (max-width: 1200px) {.interface-box .list-element {
  padding: 3vw 4vw;
  font-size: 5vw;
  margin: 4vw 0;
}}

@media only screen and (max-width: 1200px) {.interface-box .list-element i {
  font-size: 4vw;
  /* margin-right: 2vw; */
}}

.interface-box .list-element span {
  display: inline-block;
  width: 20px;
  padding-left: 3px;
  font-weight: 500;
}
@media only screen and (max-width: 1200px) {.interface-box .list-element span {
  width: 7vw;
}}

.interface-box .list-element form {
  text-align: left;
  font-size: 15px;
}
@media only screen and (max-width: 1200px) {.interface-box .list-element form {
  font-size: 5vw;
}}

.interface-box .list-element input {
  width: 95%;
}
@media only screen and (max-width: 1200px) {.interface-box .list-element input {
  font-size: 4.5vw;
  padding: 1.5vw;
}}

.interface-box .list-element input[type='submit'] {
  width: 50%;
  margin-bottom: 10px;
}
@media only screen and (max-width: 1200px) {.interface-box .list-element input[type='submit'] {
  width: 90%;
}}

.interface-box .list-element select {
  width: 98.1%;
}
@media only screen and (max-width: 1200px) {.interface-box .list-element select {
  font-size: 4vw;
  padding: 1.5vw;
  font-weight: 300;
}}

.interface-box .list-element .delete-activity {
  float: right;
  font-size: 15px;
  color: #c62828;
  border: none;
  transition: color 0.2s ease;
}

.interface-box .list-element .delete-activity:hover {
  color: #f44336;
}

@media only screen and (max-width: 1200px) {.interface-box .list-element .delete-activity {
  font-size: 4vw;
  float: none;
  margin-left: 2vw;
}}

.interface-box .add-element {
  cursor: pointer;
  margin-top: 15px;
  color: var(--nd-accent-primary);
  transition: color 0.2s ease;
}

.interface-box .add-element:hover {
  color: var(--nd-accent-secondary);
}

@media only screen and (max-width: 1200px) {.inline-form input {
  font-size: 5vw;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.5vw;
  padding-top: 2vw;
  padding-bottom: 2vw;
}}

.final-exam-form select {
  width: 37px;
  padding: 2px;
  margin-right: 8px;
}
.final-exam-form td {
  text-align: right;
  padding-bottom: 10px;
}





/* ----------------  INTERFACE ---------------- */

.interface-body {
  overflow: hidden;
}

.interface-control-bar {
  width: 20%;
  height: 100vh;
  float: left;
  background: #0000009c;
}

.interface-control-bar img {
  width: 40%;
  height: 7vw;
  margin: 1vw;
}

.interface-name {
  color: white;
  font-size: 1.5vw;
  font-weight: bold;
  border-bottom: 1px solid #a4a4a4;
  padding-bottom: 0.5vw;
  margin-bottom: 1vw;
}

.interface-control-bar .competition-button {
  font-size: 1vw;
  padding: 0.5vw;
  margin: 0.8vw;
  transition: background 0.05s, color 0.05s;
}

.interface-control-bar .competition-button i {
  margin-right: 0.2vw;
  margin-left: 0.2vw;
}

.interface-control-bar .save-button {
  border: 1px dashed white;
}

.interface-control-bar .smaller-button {
  margin-right: 0;
  width: 50%;
  margin: 0.1vw;
  margin-right: 0.1vw;
  padding: 0.3vw;
  display: inline-block;
}

.button-was-selected {
  background: white;
  color: black !important;
}

.interface-control-bar select {
  font-size: 0.9vw;
  width: 20%;
  padding: 0.3vw;
  display: inline-block;
}

.interface-control-bar .score-information {
  color: white;
  font-size: 2vw;
  border: 1px dashed white;
  margin-left: 5vw;
  margin-right: 5vw;
}

.interface-control-bar .pf-score-information {
  margin-bottom: 0.5vw;
}

.interface-control-bar .go-back-link {
  color: white;
  font-size: 0.8vw;
  margin-bottom: 1.5vw;
  display: block;
}

.interface-main {
  width: 80%;
  height: 100vh;
  float: left;
}

.interface-main .tmp-information {
  background: black;
  float: left;
  width: 100%;
  color: white;
  font-size: 1vw;
  padding-top: 1vh;
  height: 3.5vh;
}

.interface-main .tmp-information i {
  margin-left: 1.4vw;
  margin-right: 0.2vw;
  font-size: 0.9vw;
}

.interface-main iframe {
  background: black;
  width: 100%;
  height: 95vh;
}


/* ----------------  TEAM AND AMBASSADOR PAGE ---------------- */

.team-member {
  display: inline-block;
  width: 180px;
  margin: 30px;
  font-size: 13px;
  color: hsl(0,0%,70%);
  line-height: 22px;
}
@media only screen and (max-width: 1200px) {.team-member {
  width: 38vw;
  margin: 3vw;
  font-size: 2.5vw;
  line-height: 6vw;
}}

.team-member img {
  filter: grayscale(100%);
  width: 180px;
  height: 180px;
  margin-bottom: 10px;
  box-shadow: 2px 1px 5px black;
}
@media only screen and (max-width: 1200px) {.team-member img {
  width: 38vw;
  height: 38vw;
}}

.ambassador-img {
  width: 300px;
  border: 1px solid black;
  box-shadow: 5px 5px 0 0 black;
  margin-top: 80px;
}

@media only screen and (max-width: 1200px) {
  .ambassador-img {
    margin-top: 100px;
  }
  .team-member-profile-p i {
    display: inline-block;
    padding-right: 20px;
  }
}


/* REGISTRATION AND PAYMENT */

.registration-form input[type='text'] {
  width: 97%;
}

.pay-method-selector {
  padding: 10px;
  border: 1px solid hsl(200, 56%, 25%);
  margin-bottom: 10px;
  height: 40px;
  outline: 1px solid transparent;
  background: hsla(210, 56%, 0%,0.3);
}
.pay-method-selector:hover {
  outline: 2px solid hsl(210, 36%, 45%);
  cursor: pointer;
  background: hsla(210, 56%, 0%,0.4);
}
.pay-method-selector:hover > .pm-name {
}
.pay-method-selector img {
  height: 40px;
}
.pay-method-selector i {
  height: 40px;
  font-size: 25px;
  margin-top: 8px;
  margin-left: 3px;
}
.pay-method-selector .pm-icon {
  width: 190px;
  display: inline-block;
  text-align: center;
  float: left;
}
.pay-method-selector .pm-name {
  float: left;
  margin-left: 20px;
  margin-top: 8px;
}
.pay-method-selector-selected {
  outline: 2px solid hsl(210, 36%, 45%);
  background: hsla(210, 56%, 0%,0.6);
  font-weight: 400;
}





@media only screen and (max-width: 1200px) {
  .pay-method-selector {
    height: 170px;
    text-align: center;
  }
  .pay-method-selector .pm-icon {
    width: 100%;
    /* background: red;   */
    padding-top: 5px;
  }
  .pay-method-selector .pm-name {
    /* background: red;   */
    width: 100%;
    padding: 0; margin: 0;
  }
  .pay-method-selector i {
    margin: 5px !important;
    font-size: 33px;
  }
  .pay-method-selector .pm-icon {
    margin-top: 15px;
  }
  .pay-method-selector .pm-icon img {
    /* margin-top: 18px; */
  }
  .pay-method-selector .pm-name {
    margin-top: 10px;
  }
  .pay-method-selector-one-line-text .pm-icon {
    margin-top: 30px;
  }
}







.stripe-checkout-button, .paypal-button {
  background-color: hsl(221, 70%, 28%);
  color: white;
  padding: 13px 0;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
}

.stripe-checkout-button:hover, .paypal-button:hover {
  background-color: hsl(221, 70%, 32%);
}

@media only screen and (max-width: 1200px) {
  .stripe-checkout-button, .paypal-button {
    padding: 30px 0;
    border-radius: 10px;
    font-size: 25px;
    line-height: 40px;
  }
}



.rec-mobile {
  display: none;
}
@media only screen and (max-width: 1200px) {
  .rec-non-mobile {
    display: none;
  }
  .rec-mobile {
    display: inline;
  }
}



/* Group Payment */

.gp_info_error {
  color: hsla(0, 100%, 45%, 1);
}

.gp_info_ok {
  color: hsla(120, 70%, 40%, 1);
}

.gp_input a {
  font-size: 15px;
  color: gray;
  cursor: pointer;
}

.gp_table td {
  padding: 0px 10px;
}



/* ----------------  Subsites ---------------- */

section .content-wrapper table td, .section .content-wrapper table th {
  line-height: 50px;
  font-weight: 400;
  padding-right: 10px;
}
section .content-wrapper table td img {
  height: 13px;
  margin-right: 5px;
}
@media only screen and (max-width: 1200px) {
  section .content-wrapper table td, section .content-wrapper table th {
    float: left;
    width: 100%;
    line-height: 12vw;
    font-size: 5vw;
  }
  section .content-wrapper table td img {
    height: 4vw;
    margin-right: 3vw;
  }
}

.cheating_not_allowed {
  color: red;
}
.cheating_allowed {
  color: green;
}


.support-button {
  width: 250px;
  display: inline-block;
  text-align: left;
}
.support-button i {
  width: 20px;
  text-align: center;
}
@media only screen and (max-width: 1200px) {
  .support-button {
    /* width: 90%; */
    font-size: 5vw;
    padding: 2vw 2vw;
  }
  .support-button i {
    width: 4vw;
    text-align: right;
  }
}
.support-content {
  max-height: 0px;
  transition: 0.5s max-height;
  overflow: hidden;
}
@media only screen and (max-width: 1200px) {
  .support-content {
    font-size: 4vw;
  }
}

.support-content a {
  cursor: pointer;
}


section .content-wrapper .partnerbox {
  text-align: center;
}

section .content-wrapper .partnerbox img {
  width: 200px;
}
@media only screen and (max-width: 1200px) {section .content-wrapper .partnerbox img {
  width: 60%;
}}




/* Addr */

#address_preview {
  background: #00000087;
  width: 530px;
  padding: 10px;
  margin: 10px;
  line-height: 19px;
  font-size: 16px;
  font-family: 'Courier New', Courier, monospace;
}



/* About */

.intext-img {
  height: 190px;
  display: inline-block;
}

@media only screen and (max-width: 1200px) {
  .intext-img {
    height: 20vw;
  }
}





/* Orga */

.orgabox {
  display: flex;
  align-items: flex-start;
  margin-left: 50px;
}

.orgaimg {
  flex: 0 0 130px;
  width: 130px;
  margin-right: 20px;
  filter: grayscale(1.0);
}


.orgatext {
  flex: 1;
  min-width: 0;
}

.orgatext img, .orgabox_small img {
  height: 12px;
  margin-left: 5px;
}

.orgarole {
  font-weight: 600;
}

.orgabox span {
  display: inline-block;
  font-size: 16px;
  color: #878787;
  font-style: italic;
}


.orgabox_small {
  margin-left: 50px;
  margin-bottom: 30px;
}

.orgaamb_wrapper {
  width: 850px;
  margin-left: 45px;
}

.orgaamb {
  filter: grayscale(1.0);
  width: 80px;
  margin: 5px;
}


@media only screen and (max-width: 1200px) {
  .orgabox {
    margin-left: 0;
  }

  .orgaimg {
    flex-basis: 20%;
    width: 20%;
    margin-right: 5%;
  }

  .orgatext {
    font-size: 4vw;
  }

  .orgatext img, .orgabox_small img  {
    margin-left: 1.4vw;
    height: 2.7vw;
  }

  .orgaamb_wrapper {
    width: 100%;
    margin: 0;
  }

  .orgaamb {
    width: 14%;
    margin: 1%;
  }
}


/* Index Elements */

.index-poster {
  width: 110px;
  margin: 0 15px;
}

@media only screen and (max-width: 1200px) {
  .index-poster {
    width: 40%;
    margin: 0 4%;
    margin-top: 6vw;
  }
}


.stats-box {
  font-size: 16px;
  text-align: center;
  color: #c3c3c3;
  margin: 80px 0;
}

.part-counter {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
  color: white;
}


@media only screen and (max-width: 1200px) {
  .stats-box {
    font-size: inherit;
    margin: 20vw 0;
  }

  .part-counter {
    font-size: 7vw;
    margin-bottom: 3vw;
  }
}


/* Prt */

.prt-wrapper {
  text-align: center;
  border-bottom: 1px solid var(--nd-glass-border);
  margin-bottom: 60px;
  min-height: 120px;
  padding-bottom: 40px;
}

.prt-text{
  color: var(--nd-text-secondary);
}

.prt-logo {
    width:  120px;
    transition: opacity 0.3s ease;
}

.prt-logo:hover {
    opacity: 0.8;
}

@media only screen and (max-width: 1200px) {
  .prt-wrapper {
    text-align: center;
    border-bottom: 1px solid var(--nd-glass-border);
    margin-bottom: 5vw;
  }

  .prt-text{
    float: none;
    text-align: center;
    margin-bottom: 5vw;
    margin-top: 5vw;
  }

  .prt-logo {
      width:  40%;
      margin-bottom: 5vw;
  }
}



/* OTHER UPDATED */

.inline-flag-address {
  height: 15px;
}

/* #localgroups .content-wrapper {
  text-align: center;
} */




.image-wrapper {
  display: inline-block; 
  width: 250px;
  text-align: center;
 }
 
 .image-wrapper img {
   height: 150px;
 }
 
 .image-wrapper small {
   color: grey;
   display: inline-block;
   font-size: 13px;
 }
 

@media only screen and (max-width: 1200px) {
  .image-wrapper {
    width: 100%;
  }
  .image-wrapper img {
    height: auto;
    width: 40%;
  }
  .image-wrapper small {
   display: block;
   font-size: 3.5vw;
    margin-bottom: 5vw;
 }
}


/* Language Stuff */


/* Lanugage Screen */

.language_screen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: var(--background-section-color);
  color: white;
  width: 80%;
  height: 100vh;
  overflow-y: scroll;
  padding: 10%;
  padding-top: 5%;
  font-size: 40px;
  font-weight: bold;
  /* display: none; */
}

.language_screen img {
  width: 150px;
}

.language_screen span {
  display: block;
  margin-top: 30px;
  margin-bottom: 50px;
  font-weight: 400;
  font-size: 25px;
  color: hsl(0,0%,50%);
}

.language_screen .button {
  color: white;
  border: 2.5px solid white;
  margin: 20px;
  padding: 10px 20px;
  font-size: 30px;
  display: inline-block;
  box-shadow: 5px 5px 0 0 white;
}

.language_screen .button:hover {
  background: white;
  color: black;
}

.bottom_space {
  width: 100%;
  height: 30vw;
}

@media only screen and (max-width: 1200px) {
  .language_screen {
    font-size: 9vw;
  }
  .language_screen img {
    width: 35vw;
    margin-top: 8vw;
  }
  .language_screen span {
    font-size: 5vw;
    margin-top: 6vw;
    margin-bottom: 4vw;
  }
  .language_screen .button {
    border: 0.4vw solid white;
    display: block;
    padding: 3vw 0px;
    margin-bottom: 9vw;
  }
  .bottom_space {
    width: 100%;
    height: 40vw;
  }
}


/* Language Selection */

.languages {
  background: black;
  color: hsl(0, 0%, 50%);
  font-weight: bold;
  font-size: 12px;
  padding: 7px;
}

.languages a {
  color: hsl(0, 0%, 70%);
  padding-left: 40px;
}

.languages a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 1200px) {
  .languages {
    display: none;
  }
}






/* Arabic (RTL) formatting */

html[dir="rtl"], html[lang="ar"] {
  direction: rtl;
  unicode-bidi: embed;
}

body[dir="rtl"], body[lang="ar"] {
  direction: rtl;
  text-align: right;
  unicode-bidi: embed;
}

/* Fix for submenu items */
html[dir="rtl"] .menu ul li ul li,
html[lang="ar"] .menu ul li ul li {
  display: block;
  float: none;
  text-align: right;
  padding: 7px 15px;
  padding-left: 0px; /* Add more padding on the left side */
  width: 80%;
}

html[dir="rtl"] .process-step-no,
html[lang="ar"] .process-step-no {
  float: right; /* Process step numbers should float right in RTL */
}

html[dir="rtl"] .process-step-content,
html[lang="ar"] .process-step-content {
  margin-right: 50px;
  margin-left: 0;
  text-align: right;
}

html[dir="rtl"] .interface-title span,
html[lang="ar"] .interface-title span {
  float: left;
}

html[dir="rtl"] .footer-column,
html[lang="ar"] .footer-column {
  float: right;
}

html[dir="rtl"] #footer-footer span,
html[lang="ar"] #footer-footer span {
  float: left;
}

html[dir="rtl"] .rules-check-span,
html[lang="ar"] .rules-check-span {
  float: right;
}

html[dir="rtl"] .submission-form input[type='checkbox'],
html[lang="ar"] .submission-form input[type='checkbox'] {
  float: right;
}

html[dir="rtl"] h4 i,
html[lang="ar"] h4 i {
  padding-right: 0;
  padding-left: 4px;
}

@media only screen and (max-width: 1200px) {
  [dir="rtl"] .content-wrapper,
  html[lang="ar"] .content-wrapper {
    text-align: right !important;
  }
  
  [dir="rtl"] .menu ul .menu-bars,
  html[lang="ar"] .menu ul .menu-bars {
    float: left;
  }
  
  [dir="rtl"] .mobile-menu ul,
  html[lang="ar"] .mobile-menu ul {
    text-align: right;
  }
}







/* OTHER */

.financial-support-ambassadors-table {
  text-align: center;
}

.financial-support-ambassadors-table table {
  display: inline-block;
  text-align: center;
  /* border: 1px solid white; */
  padding: 10px;
}

.financial-support-ambassadors-table table td {
  text-align: center;
  border-bottom: 1px dashed white;
  padding: 0 20px;
  margin: 5px;
}


@media only screen and (max-width: 1200px) {
  .financial-support-ambassadors-table {
    width: 90%;
  }
}




.ambassador_orgabox {
  margin-left: 190px;
}

.ambassador_orgabox .orgatext {
  width: 400px;
}


@media only screen and (max-width: 1200px) {
  .ambassador_orgabox {
  margin-left: auto;
}

.ambassador_orgabox .orgatext {
  width: 75%;
}

}



.ambassador-info-h4 {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 0.5px dotted grey;
}


.ambassador-title-h4 {
  border-bottom: 2px solid var(--nd-accent-primary);
  margin: 10px 0;
  padding-bottom: 5px;
  color: var(--nd-text-primary);
}


.ambassador-box {
  border-top: 1px solid var(--nd-glass-border);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  padding-top: 0;
  background: var(--nd-glass-bg);
}

.ambassador-box .ambassador-title-h4 {
  margin-top: 0;
  padding-top: 0;
}


.ambassador-activities-element {
  font-size: 15px;
  /* color: #e8e8e8; */
}

.ambassador-activities-date {
  font-weight: 400;
}

.ambassador-participant-details {
  font-size: 13px;
  color: grey;
  /* margin-left: 27px; */
}

.ambassador-participant-details img {
  height: 12px;
  margin-right: 3px;
}

.ambassador-participant-details span {
  float: right;
  font-size: 16px;
}

.ambassador-participant-points {
  width: auto !important;
  float: right;
  font-weight: 100 !important;
  font-size: 14px;
  color: grey;
}

.ambassador-participant-certificates {
  padding: 0;
  margin: 0;
  width: auto !important;
}

@media only screen and (max-width: 1200px) {
  .ambassador-participant-details {
    font-size: 3.5vw;
  }
  .ambassador-participant-details i {
    font-size: 3.5vw !important;
  }
  
  .ambassador-participant-points  {
    font-size: 3.4vw;
  }

  .ambassador-participant-certificates {
    width: auto !important;
  }
    
  }




.logout-button {
  margin-top: 4px;
}




@media only screen and (max-width: 1200px) {
  .timer-content-mobile-NEU  {
    padding: 0 !important;
    background: none !important;
    font-size: 8.5vw !important;
    line-height: 14vw;
  }
  .less-margin-mobile {
    margin-bottom: 0 !important;
  }
    }
  






 



/*  National Ambassadors */

.ambassador-national-picture img {
  width: 80px;
  float: left;
  /* filter: grayscale(100%); */
}

.ambassador-national-box {
  margin-left: 95px;
}

   
.joined-date {
  font-size: 15px;
  color: #b8b8b8;
}   

.ambassador-national-activities-seperator {
  border-top: 1px dashed grey;
  margin-top: 10px;
  padding-bottom: 10px;
}

.ambassador-national-activity {
  background: #00000096;
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 8px;
  line-height: 15px;
  margin-bottom: 8px;
}


.ambassador-national-activity-date {
  display: inline;
  color: #b8b8b8;
}



.ambassador-national-emails {
  font-size: 12px;
  color: grey;
  line-height: 16px;
  text-align: left;
  border: 1px dotted grey;
  padding: 10px;
  border-radius: 5px;
}




.ambassadors-national-statistics-box {
  font-size: 40px;
  width: 30.5%;
  display: inline-block;
  border: 1px solid white;
  border-radius: 15px;
  text-align: center;
  padding: 30px 0;
  margin: 0 1%;
  margin-top: 30px;
}

.ambassadors-national-statistics-box small {
  font-size: 15px;
  display: block;
  margin-top: 15px;
}


.ambassadors-national-statistics-box small div {
  /* color: grey; */
  color: #00a500;
}


@media only screen and (max-width: 1200px) {
  .ambassadors-national-statistics-box {
    width: 100%;
  }
}





.list-element-participant {
  display: inline-block;
  width: 96%;
  border: 1px solid var(--nd-glass-border);
  border-radius: 8px;
  /* background: rgba(255, 255, 255, 0.95) !important; */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.list-element-participant:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--nd-accent-primary);
}

.teacher-list-element-name-wrapper {
  width: 47%;
  margin-right: 3%;
  float: left;
  line-break:anywhere;
}

.teacher-list-element-results-wrapper {
  width: 50%;
  /* float: left; */
  display: inline-block;
}

.teacher-list-element-result-box {
  width: 33%;
  float: left;
  font-size: 12px;
}

.list-element-legend {
  padding: 0;
  margin: 0 !important;
  margin-top: 20px !important;
  line-height: 15px;
  background: transparent !important;
}

.teacher-list-element-result-box small {
  font-size: 13px;
  color: var(--nd-accent-primary);
}

.certificate_icon_in_table {
  color: var(--nd-accent-primary);
}

@media only screen and (max-width: 1200px) {

  .list-element-participant {
    width: 90%;
  }
  
  .teacher-list-element-name-wrapper {
    width: 100%;
    margin-right: 0%;
    margin-bottom: 4vw;
  }
  
  .teacher-list-element-results-wrapper {
    width: 100%;
  }
  
  
  .list-element-legend {
    line-height: 3.5vw;
  }
  
  .teacher-list-element-result-box small {
    font-size: 3.5vw;
  }
  
  
  .teacher-list-element-result-box {
    font-size: 3vw;
  }

}


.submission-form input[type='radio'] {
  width: 40px;
  box-shadow: none;
}





.student-entry {
  border: 1px solid var(--nd-glass-border);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 50px;
  background: var(--nd-glass-bg);
  transition: all 0.3s ease;
}

.student-entry:hover {
  border-color: rgba(11, 99, 120, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}


.student-entry h4 {
  margin-top: 0;
  color: var(--nd-text-primary);
}

.student-entry label {
  display: block;
  text-align: left;
  margin-top: 10px;
  font-size: 16px;
  color: var(--nd-text-secondary);
}


.small_input_block {
  width: 32.5%;
  /* float: left; */
  display: inline-block;
}

.small_input_block select, .small_input_block input {
  margin: 0;
  padding: 3px 5px;
  width: 90%;
  font-size: 14px;
}

.small_input_block select {
  width: 95%;
  padding: 2px 5px;
}

.small_input_block label {
  font-size: 14px;
}


.add_student_bulk_button {
  background: var(--nd-gradient-gold);
  border: none;
  padding: 8px 20px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
}

.add_student_bulk_button:hover {
  box-shadow: 0 4px 15px rgba(11, 99, 120, 0.3);
  transform: translateY(-2px);
}


.add_student_bulk_button_csv {
  background: transparent;
  border: 1px solid var(--nd-accent-primary);
  padding: 8px 20px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--nd-accent-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.add_student_bulk_button_csv:hover {
  background: var(--nd-accent-primary);
  color: #000;
}



.csv_import_info {
  border-top: 1px dashed var(--nd-glass-border);
  padding-top: 15px;
  border-bottom: none !important;
}


.sudent_entry_success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}


.student_entry_info_success {
  margin-top: 30px;
  color: #16a34a;
  font-weight: 600;
  font-size: 22px;
}


.sudent_entry_error {
  background: rgba(244, 67, 54, 0.1);
  border-color: rgba(244, 67, 54, 0.3);
}


.student_entry_info_error {
  margin-top: 30px;
  color: #c62828;
  font-weight: 600;
  font-size: 22px;
}


.confirmation_email_check {
  display: inline-block !important;
  float: none !important;
  /* width: 20px !important; */
}


.prizes_table td {
  vertical-align: top;
  line-height: inherit !important;
}



.qualified_students_box {
  border: 1px solid var(--nd-glass-border);
  border-radius: 8px;
  padding: 20px;
  background: var(--nd-glass-bg);
  border-left: 4px solid var(--nd-accent-primary);
}



.direct-bank-info {
  display: inline-block;
  width: 140px;
  font-weight: 400;
  margin-left: 30px;
}


.final_round_table {
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}

.final_round_table td, .final_round_table th {
  padding: 12px 16px;
  border: 1px solid var(--nd-glass-border) !important;
  border-collapse: collapse;
}

.final_round_table th {
  background: var(--nd-glass-bg);
  font-weight: 600;
  font-family: var(--nd-font-heading);
}


.winner_table th, .winner_table td {
  vertical-align: top;
  line-height: 30px !important;
}
.winner_table td {
  padding-left: 10px;
  padding-bottom: 10px;
}
.winner_table td small {
  color: grey;
}


/* ----------------  SHOP STYLES ---------------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  margin-right: 320px;
}
@media only screen and (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin-right: 0;
    padding: 5vw;
  }
}

.product-card {
  background: hsla(0,0%,0%,0.75);
  border: 1px solid white;
  padding: 15px;
  border-radius: 5px;
  color: white;
}

.product-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

.product-title {
  font-weight: 400;
  margin: 10px 0;
  font-size: 18px;
}

.product-description {
  color: hsl(0,0%,80%);
  margin: 10px 0;
}

.variant-select, .quantity-input {
  width: 100%;
  margin: 10px 0;
}

.add-to-cart {
  width: 100%;
  margin-top: 10px;
}

.cart-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: hsla(0,0%,0%,0.95);
  border-left: 2px solid white;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
  color: white;
}
@media only screen and (max-width: 1200px) {
  .cart-overlay {
    width: 100vw;
    padding: 5vw;
  }
}

.cart-header {
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid white;
  padding-bottom: 10px;
}

.cart-item {
  border-bottom: 1px solid hsl(0,0%,30%);
  padding: 15px 0;
  font-size: 14px;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-total {
  font-weight: 400;
  font-size: 20px;
  margin: 20px 0;
  text-align: center;
}

.checkout-btn {
  width: 100%;
  font-size: 16px;
  padding: 15px;
}

.quantity-input {
  width: 60px;
  text-align: center;
  display: inline-block;
}

.remove-item {
  margin-left: 10px;
  padding: 5px 10px;
  font-size: 12px;
}

.empty-cart {
  text-align: center;
  color: hsl(0,0%,60%);
  padding: 40px 0;
}


/* ----------------  ORDER CONFIRMATION STYLES ---------------- */

.order-success-icon {
  color: #4CAF50;
  font-size: 64px;
  margin-bottom: 20px;
  text-align: center;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid hsl(0,0%,30%);
  align-items: flex-start;
}
@media only screen and (max-width: 1200px) {
  .detail-row {
    flex-direction: column;
    gap: 1vw;
  }
}

.detail-row:last-child {
  border-bottom: none;
}

.order-line-item {
  background: hsla(0,0%,0%,0.4);
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
}

.tracking-info {
  border-left: 4px solid #2196f3;
}

.next-steps {
  border-left: 4px solid #4caf50;
}

.next-steps ul {
  text-align: left;
  margin: 15px 0;
  padding-left: 20px;
}
@media only screen and (max-width: 1200px) {
  .next-steps ul {
    padding-left: 5vw;
  }
}

.next-steps li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.school_submit_link_long {
  display: inline-block;
  max-width: 450px;
  line-height: 18px;
    word-break:break-all;
  /* background: red; */
}
@media only screen and (max-width: 1200px) {
  .school_submit_link_long {
    width: 100%;
    display: block;
    word-break:break-all;
  }
}


.subscribe-index-box {
  font-size: 19px;
  /* text-shadow: 1px 1px 4px black; */
  background: #00000052;
  /* border: 1px dashed #ffffffe3; */
  /* border-radius: 8px; */
  /* width: 35%; */
  /* display: inline-block; */
  padding: 30px;
}



.resource_link_box {
  border: 1px solid var(--nd-glass-border);
  border-radius: 8px;
  margin-bottom: 30px;
  padding: 20px 25px;
  /* background: rgba(255, 255, 255, 0.95); */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--nd-accent-primary);
  transition: all 0.3s ease;
}

.resource_link_box:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}


/* ============================================
   MODERN BUTTON STYLES - NEW DESIGN
   ============================================ */

.competition-button,
input[type='submit'],
button.primary-button {
  position: relative;
  padding: 1rem 2.5rem;
  background: var(--star-blue, #3498db);
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--nd-font-heading);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  display: inline-block;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.competition-button:hover,
input[type='submit']:hover,
button.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
  background: #fff;
  color: var(--star-blue, #3498db);
}

/* Neon button variant for dark backgrounds */
.neon-button {
  position: relative;
  padding: 1.2rem 3rem;
  background: transparent;
  color: var(--star-blue);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  border: 1px solid var(--star-blue);
  overflow: hidden;
  transition: all 0.3s;
  display: inline-block;
  font-family: var(--font-head);
}

.neon-button:hover {
  background: var(--star-blue);
  color: #000;
  box-shadow: 0 0 30px var(--star-blue);
}

.neon-button.secondary {
  color: var(--nebula-purple);
  border-color: var(--nebula-purple);
}

.neon-button.secondary:hover {
  background: var(--nebula-purple);
  color: #000;
  box-shadow: 0 0 30px var(--nebula-purple);
}

/* Liquid button style */
.btn-liquid {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(90deg, var(--star-blue), var(--nebula-purple));
  color: white;
  text-decoration: none;
  border-radius: 30px 0 30px 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.4s;
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
  letter-spacing: 1px;
  border: none;
}

.btn-liquid:hover {
  border-radius: 0 30px 0 30px;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 123, 0, 0.5);
  background: linear-gradient(90deg, var(--nebula-purple), var(--star-blue));
}

/* Primary and secondary button variants */
.btn-primary {
  background: var(--star-blue);
  color: white;
  border: 1px solid var(--star-blue);
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.2);
  padding: 1rem 2.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.3s;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: transparent;
  color: var(--star-blue);
  box-shadow: 0 0 25px rgba(52, 152, 219, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--star-blue);
  border: 1px solid var(--border-glow);
  padding: 1rem 2.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.3s;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.btn-secondary:hover {
  border-color: var(--star-blue);
  background: rgba(52, 152, 219, 0.1);
}

.neon-button.small {
  padding: 0.8rem 2rem;
  font-size: 0.85rem;
}

.neon-button span {
  position: relative;
  z-index: 1;
}

.neon-button i {
  margin-right: 0.5rem;
}

/* Link styling for modern design */
.content-wrapper a:not(.competition-button):not(.btn),
section p a:not(.competition-button):not(.btn) {
  color: var(--nd-accent-primary);
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 99, 120, 0.3);
  padding-bottom: 2px;
}

.content-wrapper a:not(.competition-button):not(.btn):hover,
section p a:not(.competition-button):not(.btn):hover {
  color: var(--nd-accent-secondary);
  border-bottom-color: var(--nd-accent-secondary);
  padding-bottom: 4px;
}

/* Card link styling */
.card-link {
  color: var(--nd-accent-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
  margin-top: 1rem;
}

.card-link:hover {
  color: var(--nd-accent-secondary);
}

.card-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.card-link:hover i {
  transform: translateX(5px);
}


/* ============================================
   MODERN CARD STYLES - NEW DESIGN
   ============================================ */

/* Glass panel effect */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--nd-glass-border);
  padding: 2.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--nd-accent-primary);
}

/* Modern info boxes */
.info-box-modern {
  background: var(--nd-glass-bg);
  border: 1px solid var(--nd-glass-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--nd-accent-primary);
}

.info-box-modern.warning {
  border-left-color: #ff9800;
  background: rgba(255, 152, 0, 0.05);
}

.info-box-modern.success {
  border-left-color: #4caf50;
  background: rgba(76, 175, 80, 0.05);
}

.info-box-modern.error {
  border-left-color: #f44336;
  background: rgba(244, 67, 54, 0.05);
}


/* ============================================
   FORM STYLING - NEW DESIGN
   ============================================ */

input[type='text'],
input[type='email'],
input[type='password'],
input[type='file'],
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--nd-glass-border);
  background: var(--nd-bg-light);
  color: var(--nd-text-primary);
  font-family: var(--nd-font-body);
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--nd-accent-primary);
  box-shadow: 0 0 0 3px rgba(11, 99, 120, 0.1);
}

/* Modern submission form styling */
.submission-form {
  background: var(--nd-bg-light);
  border: 1px solid var(--nd-glass-border);
  border-radius: 8px;
  padding: 50px;
  width: 700px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

@media only screen and (max-width: 1200px) {
  .submission-form {
    width: 90%;
    padding: 5%;
  }
}

.submission-form h3 {
  font-family: var(--nd-font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin: 70px 0;
  color: var(--nd-text-primary);
  text-align: center;
}

.submission-form h4 {
  font-family: var(--nd-font-heading);
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--nd-text-primary);
}

.submission-form p {
  border-left: 2px solid var(--nd-accent-primary);
  padding: 10px 15px;
  font-size: 0.9rem;
  background: var(--nd-glass-bg);
  color: var(--nd-text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  border-radius: 0 4px 4px 0;
}


/* ============================================
   STATUS BADGES - NEW DESIGN
   ============================================ */

.status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.open {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.locked {
  background: rgba(0, 0, 0, 0.05);
  color: var(--nd-text-secondary);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.status-positive {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 4px solid #16a34a;
}

.status-yellow-bg {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #f57c00;
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 4px solid #f57c00;
}

.status-red-bg {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #c62828;
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 4px solid #c62828;
}


/* ============================================
   AWARD TABLE - MODERN DESIGN
   ============================================ */

.award-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  /* background: #ffffff; */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--nd-glass-border);
}

.award-table tr {
  transition: all 0.3s ease;
}

.award-table tr:hover {
  background: rgba(11, 99, 120, 0.05);
}

.award-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--nd-glass-border);
  vertical-align: middle;
  line-height: 1.6;
}

.award-table tr:last-child td {
  border-bottom: none;
}

/* First column - Award name */
.award-table td:first-child {
  font-weight: 500;
  white-space: nowrap;
  background: linear-gradient(90deg, rgba(11, 99, 120, 0.08) 0%, transparent 100%);
  border-right: 3px solid var(--nd-accent-primary);
  min-width: 180px;
}

.award-table td:first-child b {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.award-table td:first-child i {
  font-size: 1.1rem;
}

/* Trophy color styling */
.award-table td:first-child b[style*="hsl(60"] {
  color: var(--nd-accent-primary) !important;
}

/* Second column - Description */
.award-table td:last-child {
  color: var(--nd-text-secondary);
  font-weight: 400;
}

/* Spacing rows - hide them elegantly */
.award-table tr td[style*="padding-bottom: 15px"] {
  padding: 0.5rem 0;
  background: transparent;
  border-bottom: none;
}

.award-table tr:has(td[style*="padding-bottom: 15px"]) {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(11, 99, 120, 0.1) 50%,
    transparent 100%
  );
}

@media only screen and (max-width: 1200px) {
  .award-table {
    border-radius: 8px;
  }

  .award-table td {
    padding: 3vw 4vw;
    font-size: 4vw;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .award-table td:first-child {
    border-right: none;
    border-bottom: none;
    background: linear-gradient(180deg, rgba(11, 99, 120, 0.08) 0%, transparent 100%);
    border-left: 3px solid var(--nd-accent-primary);
    padding-bottom: 2vw;
  }

  .award-table td:last-child {
    padding-top: 0;
    padding-bottom: 4vw;
    border-bottom: 1px solid var(--nd-glass-border);
  }

  .award-table tr:last-child td:last-child {
    border-bottom: none;
  }
}


/* ============================================
   PARAGRAPH H4 HEADERS - DISTINCT STYLING
   ============================================ */

/* h4 inside paragraphs - section headers */
p h4,
.content-wrapper p h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--nd-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nd-text-primary);
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid transparent;
  background: linear-gradient(90deg, var(--nd-accent-primary) 0%, var(--nd-accent-primary) 100%) left bottom no-repeat;
  background-size: 60px 2px;
  position: relative;
}

p h4::before,
.content-wrapper p h4::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.4rem;
  background: var(--nd-gradient-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

p h4 i,
.content-wrapper p h4 i {
  color: var(--nd-accent-primary);
  font-size: 1.2rem;
  width: auto;
  margin-right: 0;
  padding-right: 0;
}

/* Hover effect for interactivity */
p h4:hover,
.content-wrapper p h4:hover {
  background-size: 100% 2px;
  transition: background-size 0.4s ease;
}

@media only screen and (max-width: 1200px) {
  p h4,
  .content-wrapper p h4 {
    font-size: 5.5vw;
    gap: 2vw;
    padding-bottom: 2vw;
    margin-bottom: 3vw;
  }

  p h4::before,
  .content-wrapper p h4::before {
    width: 1vw;
    height: 5vw;
  }

  p h4 i,
  .content-wrapper p h4 i {
    font-size: 5vw;
  }
}


/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .competition-button,
  .neon-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }

  .glass-panel {
    padding: 1.5rem;
  }
}


/* ============================================
   HERO SECTION
   ============================================ */

#hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  overflow: hidden;
  background: radial-gradient(circle at 60% 50%, #102035 0%, transparent 60%);
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(to bottom, transparent 0%, var(--void-bg) 95%);
  z-index: 1;
  pointer-events: none;
}

#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1400px;
  margin-top: -5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  width: 90%;
}

.hero-text-block {
  flex: 1;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, var(--star-blue) 50%, var(--nebula-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(52, 152, 219, 0.4));
}

.hero-title .title-small {
  display: block;
  font-size: 0.4em;
  line-height: 1.4;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin: 10px 0;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-dim);
  border-left: 3px solid var(--star-blue);
  padding-left: 1.5rem;
  max-width: 600px;
  background: linear-gradient(90deg, rgba(52, 152, 219, 0.1), transparent);
}

.hero-cta {
  margin-top: 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-stats .stat {
  text-align: center;
}

.hero-stats .stat-num {
  display: block;
  font-size: 3rem;
  font-family: var(--font-head);
  line-height: 1;
  color: var(--text-bright);
}

.hero-stats .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

#spin-button-container {
  width: 350px;
  height: 350px;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

#spin-button-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 1px dashed rgba(52, 152, 219, 0.3);
  animation: spinRing 20s linear infinite;
  pointer-events: none;
}

@keyframes spinRing {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#spin-button-container:hover {
  transform: scale(1.05);
}

/* Floating Equation Animation */
.hero-eq {
  position: absolute;
  color: var(--star-blue) !important;
  font-size: 1.5rem;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  font-family: 'Times New Roman', serif;
  text-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

/* Force MathJax to use our color */
.hero-eq mjx-container,
.hero-eq mjx-container *,
.hero-eq .MathJax,
.hero-eq .MathJax *,
.hero-eq svg,
.hero-eq svg * {
  color: var(--star-blue) !important;
  fill: var(--star-blue) !important;
}

@keyframes eqFadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    filter: blur(4px);
  }
  20% {
    opacity: 0.8;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
  80% {
    opacity: 0.8;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(1.1);
    filter: blur(4px);
  }
}

/* Glassmorphism Components */
.glass-panel, .participation-box {
  background: #FBFBF9;
  border: 1px solid rgba(52, 152, 219, 0.25);
  padding: 4rem;
  border-radius: 2px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-card {
  background: #FBFBF9;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  transition: 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--star-blue);
  background: #FFFFFF;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Hero */
@media (max-width: 992px) {
  #hero {
    padding-left: 5%;
    padding-right: 5%;
    justify-content: center;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    margin-top: 0;
    gap: 2rem;
  }

  .hero-text-block {
    max-width: 100%;
  }

  .hero-subtitle {
    border-left: none;
    padding-left: 0;
    text-align: center;
  }

  #spin-button-container {
    width: 250px;
    height: 250px;
  }

  .hero-stats {
    bottom: 80px;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-stats .stat-num {
    font-size: 2rem;
  }
}



.gold {
  color: #ee7e13;
}


  .info_title {
                                        display: block;
    background: #e7e7e736;
    padding: 3px 12px;
    font-weight: 500;
    margin-bottom: 10px;
                                }

/* =====================================================================
   IESC OVERRIDES: light "sky to mantle" design for every page except the homepage.
   Loaded after the reference rules above, so these win.
   ===================================================================== */

html, body { font-family: var(--font); font-weight: 400; background: var(--paper); color: var(--ink); }
/* overflow-x: clip instead of hidden keeps the sticky header working */
html, body { height: auto; overflow-x: clip; }
body { line-height: 1.55; }
.site-head, .site-foot, .foot-news { text-align: left; }

/* sections: no dark glass, no huge fixed-navbar offset */
section { background: transparent; color: var(--ink); padding: 3.5rem 0; border-top: 1px solid var(--rule); }
section:first-of-type { border-top: none; padding-top: 3rem; }
#participation, #qualification, #faq, #hero { background: transparent; }
@media only screen and (max-width: 1200px) {
  section { padding: 2.5rem 0; }
  section:first-of-type { padding-top: 2rem; }
}

/* the content card */
.content-wrapper {
  max-width: calc(100% - 2 * var(--gut)); box-sizing: border-box;
  background: #FBFBF9; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 2px; box-shadow: 4px 4px 0 var(--ink);
  backdrop-filter: none; font-size: 1.0625rem; line-height: 1.65; text-align: left;
}
@media only screen and (max-width: 1200px) {
  .content-wrapper { width: auto; max-width: none; margin-left: var(--gut); margin-right: var(--gut); font-size: 1rem; line-height: 1.6; }
}

/* headings */
h1, h2, h3, h4, h5, .logo, .section-title { font-family: var(--font); text-transform: none; letter-spacing: normal; }
h2, .content-wrapper h2, .center-wrapper h2, .section-title {
  color: var(--ink); font-stretch: 110%; font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; margin-top: 0; letter-spacing: -.01em;
}
@media only screen and (max-width: 1200px) { h2 { font-size: clamp(1.75rem, 7vw, 2.4rem); line-height: 1.1; margin-top: 0; } }
h3 { color: var(--focus); font-stretch: 100%; font-weight: 750; font-size: 1.5rem; line-height: 1.2; }
@media only screen and (max-width: 1200px) { h3 { font-size: 1.35rem; padding-bottom: .5rem; margin-top: .75rem; } }
.content-wrapper h4, section h4 {
  display: block; color: var(--ink); font-size: 1.2rem; font-weight: 750; font-stretch: 95%; line-height: 1.3;
  margin: 2rem 0 .75rem; padding: 0 0 .35rem; border-left: 0; border-bottom: 1.5px solid var(--ink);
}
@media only screen and (max-width: 1200px) { h4, .content-wrapper h4 { font-size: 1.1rem; } h4 i { font-size: 1rem; } }
.section-title span { color: var(--focus); }
.section-subtitle, .section-title small { color: var(--ink-2); }

.center-wrapper { text-align: center; }

/* text */
.content-wrapper p, section .content-wrapper p { margin: 0 0 1.75rem; text-align: left; }
@media only screen and (max-width: 1200px) { section .content-wrapper p { margin-bottom: 1.5rem; } }
.content-wrapper .subsection { font-size: 1.15rem; color: var(--ink-2); }
.content-wrapper a:not(.competition-button):not(.btn), section p a { color: var(--focus); text-decoration: underline; text-underline-offset: 2px; }
.content-wrapper a:not(.competition-button):not(.btn):hover, section p a:hover { color: var(--ink); }
.content-wrapper ul, .content-wrapper ol { margin: .5rem 0 1rem; padding-left: 1.4rem; }
.content-wrapper ul { list-style: square; }
.content-wrapper li { margin: .3rem 0; padding-left: .15rem; }
.content-wrapper li > ul, .content-wrapper li > ol, .content-wrapper ul ul { margin: .25rem 0 .5rem; }
.content-wrapper li::marker { color: var(--ink-2); }
.content-wrapper table { border-collapse: collapse; margin: .5rem 0 1rem; }
.content-wrapper table td, .content-wrapper table th { border-bottom: 1px solid var(--rule); padding: .4rem .75rem .4rem 0; text-align: left; vertical-align: top; }
.content-wrapper code { background: var(--sky); padding: 0 .25rem; border-radius: 2px; }

/* buttons: ink with paper text, like the homepage */
.competition-button, input[type='submit'], button.primary-button, .neon-button, .btn-primary, .btn-liquid {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); border-radius: 2px;
  font-family: var(--font); font-stretch: 88%; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-transform: none; letter-spacing: normal; text-decoration: none;
  padding: .75rem 1.3rem; box-shadow: none; transform: none; clip-path: none;
}
.competition-button:hover, input[type='submit']:hover, button.primary-button:hover, .neon-button:hover, .btn-primary:hover, .btn-liquid:hover {
  background: #3A342E; color: var(--paper); box-shadow: none; transform: none;
}
.content-wrapper a.competition-button, section a.competition-button { color: var(--paper); text-decoration: none; }

/* form fields */
input[type='text'], input[type='email'], input[type='password'], input[type='file'], input[type='number'], input[type='date'], input[type='tel'], select, textarea {
  background: #FFFFFF; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 2px; font-family: var(--font); font-size: 1rem;
}
input[type='text']:focus, input[type='email']:focus, input[type='password']:focus, select:focus, textarea:focus {
  outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); box-shadow: none;
}
::placeholder { color: #7A736C; }

/* login / account pages */
.login-menu { text-align: center; padding: 1.5rem 0 0 !important; backdrop-filter: none; background: transparent; }
.login-menu img { height: 72px !important; width: auto; margin: 0 !important; filter: none; }
.login-box { background: #FBFBF9; border: 1.5px solid var(--ink); border-radius: 2px; box-shadow: 4px 4px 0 var(--ink); font-family: var(--font); font-weight: 400; color: var(--ink); }
.login-footer { position: static; }

/* components that used white text on the old dark theme */
.welcome h1, .welcome p, .interface-name, .interface-control-bar .score-information, .interface-control-bar .go-back-link,
.part-counter, .language_screen, .language_screen .button, .product-card, .cart-overlay, #materials a { color: var(--ink); text-shadow: none; }
.interface-control-bar .save-button, .interface-control-bar .score-information, .ambassadors-national-statistics-box,
.product-card, .language_screen .button { border-color: var(--ink); }
.financial-support-ambassadors-table table td { border-bottom-color: var(--rule); }
.cart-overlay { border-left-color: var(--ink); background: #FBFBF9; }
.cart-header { border-bottom-color: var(--ink); }
.language_screen .button { box-shadow: 4px 4px 0 var(--ink); }
.language_screen .button:hover { background: var(--ink); color: var(--paper); }
.languages { background: var(--paper); }
#video iframe { border-color: var(--ink); }
.button-was-selected { background: var(--ink); color: var(--paper) !important; }
.team-member img { box-shadow: 4px 4px 0 var(--ink); }
.ambassador-img { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.glass-panel, .participation-box, .feature-card { background: #FBFBF9; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); backdrop-filter: none; color: var(--ink); }

/* training page: one block per core topic */
.topic-blocks { margin: 0 0 2rem; }
.topic-block { border: 1.5px solid var(--ink); border-left-width: 6px; background: #FFFFFF; padding: 1rem 1.25rem 1.1rem; margin: 0 0 1.25rem; }
.topic-block h5 { margin: 0 0 .4rem; font-size: 1.1rem; font-weight: 750; color: var(--ink); }
.topic-block p { margin: 0 0 .75rem !important; color: var(--ink-2); }
.topic-meta { border-top: 1px solid var(--rule); padding-top: .6rem; }
.topic-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: .35rem 0 .2rem; }
.topic-concepts { font-size: .95rem; line-height: 1.8; }
.topic-eq { font-size: .98rem; margin: .15rem 0; }
.topic-eq span { display: inline-block; min-width: 13rem; color: var(--ink-2); font-style: italic; }

/* resource link boxes: same block style as the training topics */
.resource_link_box { border: 1.5px solid var(--ink); border-left-width: 6px; border-radius: 0; background: #FFFFFF; padding: 1rem 1.25rem 1.1rem; margin: 0 0 1.25rem; box-shadow: none; overflow-wrap: anywhere; }
.resource_link_box:hover { box-shadow: none; transform: none; }
.resource_link_box h4 { margin-top: 0; }

/* awards table: cells lost their padding to the generic table rule; drop the old gold tints */
.content-wrapper .award-table { border: 1.5px solid var(--ink); border-radius: 0; box-shadow: none; background: #FFFFFF; }
.content-wrapper .award-table td { padding: .8rem 1.1rem; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.content-wrapper .award-table td:first-child { background: none; }
.award-table tr:hover, .award-table tr:has(td[style*="padding-bottom: 15px"]) { background: none; }
@media only screen and (max-width: 1200px) {
  .content-wrapper .award-table td { padding: .75rem 1rem; font-size: .95rem; }
  .content-wrapper .award-table td:first-child { padding-bottom: .2rem; white-space: normal; border-bottom: 0; }
  .content-wrapper .award-table td:last-child { padding-top: 0; }
}

/* dashboard boxes: square corners like the rest of the theme */
.process-step-content, .ambassador-box, .ambassador-national-activity, .ambassadors-national-statistics-box,
.list-element-participant, .student-entry, .qualified_students_box, .final_round_table { border-radius: 2px; }

/* phones: the reference sizes these in vw, which gets oversized; match the rem scale used elsewhere */
@media only screen and (max-width: 1200px) {
  section .content-wrapper table td, section .content-wrapper table th { font-size: .95rem; line-height: 1.5; }
  .login-box { padding: 1.5rem 5%; }
  .login-box h3 { font-size: 1.75rem; margin-bottom: 1.5rem; }
  .login-box input, .login-box select, .login-box span { font-size: 1rem; }
  .interface-box { margin-top: 0; }
  .interface-box .interface-title { font-size: 1.2rem; }
  .interface-box .list-element, .interface-box .list-element form, .interface-box .list-element input, .inline-form input { font-size: 1rem; }
  .interview-h4 { font-size: 1.1rem; }
  .text-emphasis, .support-button, .content-wrapper .document { font-size: 1rem; }
}

/* status messages: ink text in a ruled box with a coloured edge (amber = action needed, red = problem, green = done) */
.status-yellow-bg, .status-yellow-bg-small, .status-green-bg-small, .status-red-bg, .status-positive,
.interface-box .status-yellow-bg, .interface-box .status-yellow-bg-small, .interface-box .status-green-bg-small, .interface-box .status-positive {
  color: var(--ink); font-weight: 400; line-height: 1.5; text-align: left;
  background: var(--msg-bg);
  border: 1.5px solid var(--ink); border-left: 6px solid var(--msg); border-radius: 0; box-shadow: none;
}
.status-yellow-bg, .status-green-bg-small, .status-red-bg, .status-positive,
.interface-box .status-yellow-bg, .interface-box .status-green-bg-small, .interface-box .status-positive {
  display: block; font-size: 1rem; padding: .75rem 1rem; margin: .6rem 0;
}
.status-yellow-bg-small, .interface-box .status-yellow-bg-small { display: inline-block; font-size: .95rem; padding: .3rem .65rem; margin: .2rem 0; }
.status-yellow-bg, .status-yellow-bg-small { --msg: #E8A33D; --msg-bg: #FCF2E4; }
.status-red-bg { --msg: #E4572E; --msg-bg: #FBE7E2; }
.status-green-bg-small, .status-positive { --msg: #4E9A3E; --msg-bg: #E6F1E4; }
.status-yellow, .interface-box .status-yellow { color: #8A5200; }
