@charset "UTF-8";

/* Prevenir scroll horizontal */
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
}

.fieldlabels {
  color: #2B3D55;
  font-size: 18px;
  margin-top: 10px;
  line-height: 1;
}
select.calc-input.filter-select {
  width: 100%!important;
}
.calc-input.wide-select {
  width: 100% !important;
}
.field-container {
  padding: 1.5em;
  width: 100%;
}

.title-step span {
  font-weight: 700 !important;
  padding: 0 0;
  font-size: 20px;
  color: #1C326A;
  border-bottom: 2px solid #F29D35;
}

.title-step {
  text-align: center;
}

.sub-title {
  text-align: center;
  font-weight: 400;
  font-size: 21px;
}

.fieled-box {
  width: 300px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.fieled-box1 {
  width: 300px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.subtitle {
  height: 150px;
  background-color: #E3FCF5;
  padding: 10px 0;
  font-size: 15px;
  border-radius: 20px;
}

.inp-box {
  width: 100%;
  background-color: #E3FCF5;
  border-radius: 20px;
  margin: 0 0 10px 10px;
}

.inp-box .input-sec select {
  width: 40px;
  height: 30px;
}

/* point card styles */
.calc-pts-section {
    margin-bottom: 20px;
}

.calc-pts-section .calc-pts-card-outer {
  margin: 2%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-table {
  width: 100%;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 10px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  width: 100%;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-row {
  width: 100%;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-row-info .pts-card-sec-info {
  width: 100%;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-card > .calc-pts-card-sec:first-child {
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-card > .calc-pts-card-sec:nth-child(2),
.calc-pts-section .calc-pts-card-outer .calc-pts-card > .calc-pts-card-sec:nth-child(3) {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -ms-flex-item-align: stretch;
      align-self: stretch;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-card-left,
.calc-pts-section .calc-pts-card-outer .calc-pts-card-right {
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: stretch;
      align-self: stretch;
  height: auto;
  min-height: 100%;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-card-left {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
}
.calc-pts-section .calc-pts-full-row {
  width: 100%;
  margin-bottom: 10px;
  color: #1C326A;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-card-right {
  width: 20%;
  margin-left: 10px;
  margin-bottom: 10px;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-card-right .calc-pts-card-sec {
  width: 100% !important;
}
.calc-pts-section .calc-pts-card-outer .calc-pts-card-right .pts-card-sec-info {
  font-size: 14px;
}
.calc-pts-section .pts-card-sec-info {
  background-color: #E3FCF5;
  border-radius: 10px;
  height: auto;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px;
}
.calc-pts-section .pts-card-sec-info img {
  width: 60% !important;
  padding: 10px;
}
.calc-pts-section .calc-pts-card-sec {
  width: 33%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  margin-right: 10px;
}
.calc-pts-section .calc-pts-card-sec:last-child {
  margin-right: 0;
}
.calc-pts-section .calc-pts-card-sec .pts-card-sec-box {
  background-color: #E3FCF5;
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px;
  height: 100%;
  box-sizing: border-box;
}
.calc-pts-section .calc-pts-card-sec .pts-card-sec-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.calc-pts-section .calc-pts-card-sec label {
  text-align: center;
}
.calc-pts-section .calc-pts-card-sec select {
  height: 30px;
  border: 1px solid orange !important;
  margin-bottom: 7px;
  padding: 5px !important;
}

.calc-heading-container {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  padding: 0 15px;
  text-align: left;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.calc-heading {
  font-size: 2em;
  font-weight: 600;
  color: #2E2E2E;
  display: inline-block !important;
  margin-bottom: 16px;
  text-align: left;
  border-bottom: 10px solid transparent;
  -o-border-image: url("../images/border-bottom.png") 15 stretch;
     border-image: url("../images/border-bottom.png") 15 stretch;
  word-wrap: break-word;
  max-width: 100%;
}

.calc-subheading {
  font-size: 1.125em;
  color: #555;
  font-weight: 500;
  text-align: left;
}

.form-top-inputs {
  padding: 2% 10%;
}

.body-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  margin: 20px auto;
}

.body-btn {
  background: #D3F7EF;
  color: #2E2E2E;
  border: none;
  border-radius: 16px;
  padding: 40px 20px;
  font-size: 1.3em;
  font-weight: 600;
  cursor: pointer;
  -webkit-box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
          box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
}

.body-btn:hover {
  -webkit-transform: translateY(-6px);
          transform: translateY(-6px);
  -webkit-box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
          box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  background-color: #E4276B !important;
  color: #fff !important;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.community-grid a {
  text-decoration: none;
  color: inherit;
}
.community-grid .country-label {
  font-size: 1em;
  color: #2E2E2E;
  font-weight: 500;
  text-decoration: none;
}

.comm-card {
  background: #D3F7EF;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.comm-card:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
          box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.comm-card img {
  height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 12px;
  padding: 0;
}

/* Ocultar contador flotante */
#floating-total-counter {
  display: none !important;
}

.calc-hidden {
  display: none !important;
}

.comm-card h3 {
  font-size: 1.2em;
  margin: 0 0 8px;
  color: #2E2E2E;
}

.comm-card p {
  font-size: 0.9em;
  color: #555;
}

.ss-main {
  width: 100%;
  height: auto;
  background-color: #E3FCF5;
  border-radius: 20px;
  padding: 10px;
}

.ss-main .ss-single-selected {
  background-color: #E3FCF5 !important;
}
.ss-main .ss-single-selected .placeholder, .ss-main .ss-single-selected .ss-main .ss-single-selected .placeholder * {
  background-color: #E3FCF5 !important;
}

.gpa-row {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
}

.gpa-row .pts-card-sec-box {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 350px;
  margin-bottom: 5px;
  height: auto !important;
}

/* ✅ Make dropdown & input equal height and bigger */
.input {
  height: 31.8px !important;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #f29d35 !important;
  background: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.select {
  min-width: 200px !important;
  height: 30px !important;
  border-radius: 5px;
  margin-left: 20px;
}

/* ✅ Points box styled same height */
#gpa-points {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 56px !important;
  font-weight: 400;
  text-align: center;
  font-size: 16px;
}

#aragon-points {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 56px !important;
  font-weight: 400;
  text-align: center;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  body, html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  * {
    max-width: 100%;
  }
  
  .card {
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .calc-heading-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px !important;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    text-align: center !important;
  }
  
  .calc-heading {
    font-size: 1.5em !important;
    word-wrap: break-word;
    max-width: 100%;
    display: block !important;
    text-align: center !important;
  }
  
  .calc-subheading {
    font-size: 1.2em !important;
    padding: 0 10px;
  }
  
  .body-grid,
  .community-grid {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  
  .calc-pts-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  .calc-pts-card-outer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 5px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  
  .calc-pts-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .field-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  
  .community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 auto;
  }
  .comm-card {
    background: #D3F7EF;
    border-radius: 12px;
    padding: 13px;
  }
  .calc-pts-section .calc-pts-card-sec {
    width: 33%;
    height: auto;
    display: grid;
    row-gap: 10px;
    margin-right: 5px;
  }
  .calc-pts-card .calc-pts-card-sec:first-child {
    width: 33%;
  }
  .calc-pts-card .calc-pts-card-sec:nth-child(2),
  .calc-pts-card .calc-pts-card-sec:nth-child(3) {
    width: 33%;
  }
  .calc-pts-card .calc-pts-card-sec:last-child {
    margin-right: 0;
  }
  .calc-pts-section .pts-card-sec-info {
    padding: 5px;
    font-size: 18px;
  }
  .calc-pts-section .calc-pts-card-sec .pts-card-sec-box {
    padding: 5px;
  }
  .gpa-row .pts-card-sec-box {
    min-width: 100px !important;
  }
  .gpa-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 5px;
  }
  .select {
    min-width: 60px !important;
    width: 30% !important;
    height: 40px !important;
    font-size: 18px;
  }
  .input {
    width: 100% !important;
    height: 30px !important;
    font-size: 18px;
  }
  input.calc-input::-webkit-input-placeholder {
    font-size: 16px;
  }
  input.calc-input::-moz-placeholder {
    font-size: 16px;
  }
  input.calc-input:-ms-input-placeholder {
    font-size: 16px;
  }
  input.calc-input::-ms-input-placeholder {
    font-size: 16px;
  }
  input.calc-input::placeholder {
    font-size: 16px;
  }
  #aragon-points {
    width: auto !important;
    height: 70px !important;
    font-size: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #gpa-points {
    font-size: 20px;
  }
  .fieldlabels {
    font-size: 22px;
  }
  .title-step span {
    font-size: 24px;
  }
  .sub-title {
    font-size: 24px;
  }
  .body-btn {
    font-size: 1.6em;
  }
  .comm-card h3 {
    font-size: 1.4em;
  }
  .comm-card p {
    font-size: 1.1em;
  }
  .country-label {
    font-size: 1.2em;
  }
  .calc-pts-section .calc-pts-card-sec label {
    font-size: 18px;
  }
  .calc-pts-section .calc-pts-card-sec select {
    font-size: 18px;
  }
}/*# sourceMappingURL=merit-style.css.map */

/* ===== CATALUÑA 3.4 SINGLE COLUMN LAYOUT ===== */

/* Force single column layout for section_heading containing Cataluña 3.4 */
.calc-pts-section:has([id="cat_oppo_score"]) {
  display: block !important;
  width: 100% !important;
}

.calc-pts-section:has([id="cat_oppo_score"]) .calc-pts-card-outer {
  display: block !important;
  width: 100% !important;
}
.calc-pts-section:has([id="cat_oppo_score"]) .calc-pts-card-left {
  width: 100% !important;
  display: block !important;
}

.calc-pts-section:has([id="cat_oppo_score"]) .calc-pts-card {
  display: block !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}

/* Section heading for Cataluña 3.4 - full width */
.calc-pts-section .pts-card-sec-info:has(#cat_oppo_score) {
  width: 100% !important;
  display: block !important;
  margin-bottom: 25px !important;
  padding: 25px !important;
  background-color: #E3FCF5 !important;
  border-radius: 12px !important;
  border: 2px solid #26A9E0 !important;
  line-height: 1.8 !important;
  font-size: 16px !important;
}

/* Options section - each option in full width */
.calc-pts-section:has([id="cat_oppo_score"]) .calc-pts-card-sec {
  width: 100% !important;
  flex: none !important;
  margin-bottom: 15px !important;
  display: block !important;
}

/* Individual option containers */
.calc-pts-section:has([id="cat_oppo_score"]) .pts-card-sec-box {
  width: 100% !important;
  margin-bottom: 15px !important;
  padding: 20px !important;
  background-color: #f8f9fa !important;
  border: 2px solid #e9ecef !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.calc-pts-section:has([id="cat_oppo_score"]) .pts-card-sec-box:hover {
  border-color: #26A9E0 !important;
  background-color: #f0f8ff !important;
}

/* Radio button styling for Cataluña 3.4 */
.calc-pts-section:has([id="cat_oppo_score"]) .balear-radio-label {
  width: 100% !important;
  display: block !important;
  padding: 15px 20px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}

.calc-pts-section:has([id="cat_oppo_score"]) input[name="cat_34_coeff"] {
  margin-right: 12px !important;
  transform: scale(1.3) !important;
}

/* Result display for Cataluña 3.4 */
.calc-pts-section:has([id="cat_oppo_score"]) .cat-34-result {
  width: 100% !important;
  text-align: center !important;
  padding: 20px !important;
  margin-top: 15px !important;
  background-color: #E3FCF5 !important;
  border: 2px solid #26A9E0 !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: bold !important;
  color: #1C326A !important;
}

/* Mobile responsive for Cataluña 3.4 */
@media screen and (max-width: 768px) {
  .calc-pts-section .pts-card-sec-info:has(#cat_oppo_score) {
    padding: 20px !important;
    font-size: 20px !important;
  }
  
  .calc-pts-section:has([id="cat_oppo_score"]) .pts-card-sec-box {
    padding: 15px !important;
  }
  
  .calc-pts-section:has([id="cat_oppo_score"]) .balear-radio-label {
    padding: 12px 15px !important;
    font-size: 20px !important;
  }
  
  .calc-pts-section:has([id="cat_oppo_score"]) .cat-34-result {
    font-size: 22px !important;
  }
}
