@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* tc-scoped:tc-wp-tool-root */

.tc-wp-tool-root {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flow-root;
  isolation: isolate;
  position: relative;
}
.tc-wp-tool-root img,
.tc-wp-tool-root video,
.tc-wp-tool-root svg,
.tc-wp-tool-root iframe {
  max-width: 100%;
  height: auto;
}

.tc-wp-tool-root .cgpa-tool-wrap, .tc-wp-tool-root .cgpa-tool-wrap *{
  box-sizing: border-box;
}.tc-wp-tool-root .cgpa-tool-wrap{
  --cgpa-navy: #10233f;
  --cgpa-ink: #173f6b;
  --cgpa-green: #16724f;
  --cgpa-gold: #b98213;
  --cgpa-parchment: #fffaf0;
  --cgpa-paper: #f7f9fc;
  --cgpa-line: #d9e2ee;
  --cgpa-slate: #516070;
  --cgpa-text: #142033;
  --cgpa-muted: #637083;
  --cgpa-danger: #a83232;
  --cgpa-focus: #1f73d8;
  --cgpa-shadow: 0 18px 50px rgba(16, 35, 63, 0.14);
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 34px;
  border-radius: 0;
  overflow-x: hidden;
  color: var(--cgpa-text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(217, 226, 238, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 226, 238, 0.42) 1px, transparent 1px),
    radial-gradient(circle at 16% 12%, rgba(185, 130, 19, 0.16), transparent 28%),
    linear-gradient(135deg, #f9fbff 0%, #fffaf0 48%, #eef6f1 100%);
  background-size: 24px 24px, 24px 24px, auto, auto;
}.tc-wp-tool-root .cgpa-hero{
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto 24px;
}.tc-wp-tool-root .cgpa-hero h1{
  margin: 0;
  color: var(--cgpa-navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}.tc-wp-tool-root .cgpa-hero p{
  margin: 0;
  max-width: 720px;
  color: #34445a;
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}.tc-wp-tool-root .cgpa-card{
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(23, 63, 107, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--cgpa-shadow);
  backdrop-filter: blur(8px);
}.tc-wp-tool-root .cgpa-input-panel, .tc-wp-tool-root .cgpa-output-panel, .tc-wp-tool-root .cgpa-shortcuts{
  min-width: 0;
  border: 1px solid var(--cgpa-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}.tc-wp-tool-root .cgpa-input-panel{
  display: grid;
  gap: 16px;
  padding: 18px;
}.tc-wp-tool-root .cgpa-output-panel{
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  overflow-y: auto;
  scrollbar-color: var(--cgpa-ink) #e8edf4;
  scrollbar-width: thin;
}.tc-wp-tool-root .cgpa-output-panel::-webkit-scrollbar{
  width: 10px;
}.tc-wp-tool-root .cgpa-output-panel::-webkit-scrollbar-track{
  background: #e8edf4;
  border-radius: 999px;
}.tc-wp-tool-root .cgpa-output-panel::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, var(--cgpa-ink), var(--cgpa-green));
  border-radius: 999px;
}.tc-wp-tool-root .cgpa-term-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}.tc-wp-tool-root .cgpa-field{
  display: grid;
  gap: 6px;
  min-width: 0;
}.tc-wp-tool-root .cgpa-field span, .tc-wp-tool-root .cgpa-course-row label span{
  color: var(--cgpa-navy);
  font-size: 0.82rem;
  font-weight: 700;
}.tc-wp-tool-root .cgpa-field input, .tc-wp-tool-root .cgpa-field select, .tc-wp-tool-root .cgpa-course-row input, .tc-wp-tool-root .cgpa-course-row select{
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #bcc9d8;
  border-radius: 7px;
  padding: 10px 11px;
  color: var(--cgpa-text);
  background: #ffffff;
  font-size: 0.95rem;
  outline: none;
}.tc-wp-tool-root .cgpa-field input:focus, .tc-wp-tool-root .cgpa-field select:focus, .tc-wp-tool-root .cgpa-course-row input:focus, .tc-wp-tool-root .cgpa-course-row select:focus, .tc-wp-tool-root .cgpa-btn:focus, .tc-wp-tool-root .cgpa-shortcut:focus, .tc-wp-tool-root .cgpa-remove-course:focus{
  border-color: var(--cgpa-focus);
  box-shadow: 0 0 0 3px rgba(31, 115, 216, 0.2);
}.tc-wp-tool-root .cgpa-custom-scale-wrap[aria-disabled="true"]{
  opacity: 0.62;
}.tc-wp-tool-root .cgpa-course-list{
  display: grid;
  gap: 10px;
}.tc-wp-tool-root .cgpa-course-row{
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(90px, 0.55fr) minmax(118px, 0.7fr) 42px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #dbe4ef;
  border-left: 5px solid var(--cgpa-green);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(22, 114, 79, 0.06), transparent 38%),
    var(--cgpa-paper);
}.tc-wp-tool-root .cgpa-course-row label{
  display: grid;
  gap: 6px;
  min-width: 0;
}.tc-wp-tool-root .cgpa-remove-course{
  width: 42px;
  height: 44px;
  border: 1px solid #d5a1a1;
  border-radius: 7px;
  color: #7d2020;
  background: #fff4f4;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}.tc-wp-tool-root .cgpa-btn, .tc-wp-tool-root .cgpa-shortcut{
  min-width: 0;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}.tc-wp-tool-root .cgpa-btn:hover, .tc-wp-tool-root .cgpa-shortcut:hover{
  transform: translateY(-1px);
}.tc-wp-tool-root .cgpa-btn-primary{
  justify-self: start;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cgpa-ink), var(--cgpa-green));
  box-shadow: 0 10px 22px rgba(23, 63, 107, 0.22);
}.tc-wp-tool-root .cgpa-btn-secondary{
  color: #ffffff;
  background: var(--cgpa-navy);
}.tc-wp-tool-root .cgpa-btn-ghost{
  color: var(--cgpa-navy);
  border-color: #b9c6d5;
  background: #ffffff;
}.tc-wp-tool-root .cgpa-result-main{
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(185, 130, 19, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(238, 246, 241, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(16, 35, 63, 0.08) 28px);
}.tc-wp-tool-root .cgpa-result-label, .tc-wp-tool-root .cgpa-result-scale{
  color: var(--cgpa-muted);
  font-size: 0.9rem;
  font-weight: 700;
}.tc-wp-tool-root .cgpa-result-value{
  color: var(--cgpa-green);
  font-size: 3rem;
  line-height: 1;
  overflow-wrap: anywhere;
}.tc-wp-tool-root .cgpa-preview-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}.tc-wp-tool-root .cgpa-stat-card{
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #dce4ee;
  background: #ffffff;
}.tc-wp-tool-root .cgpa-stat-card span{
  color: var(--cgpa-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}.tc-wp-tool-root .cgpa-stat-card strong{
  color: var(--cgpa-navy);
  font-size: 1.25rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}.tc-wp-tool-root .cgpa-message-box{
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #d7e1ed;
  background: #f8fbff;
}.tc-wp-tool-root .cgpa-message, .tc-wp-tool-root .cgpa-validation-list{
  margin: 0;
  color: #2c4059;
  font-size: 0.94rem;
  line-height: 1.45;
}.tc-wp-tool-root .cgpa-validation-list{
  display: grid;
  gap: 5px;
  padding-left: 18px;
}.tc-wp-tool-root .cgpa-validation-list:empty{
  display: none;
}.tc-wp-tool-root .cgpa-validation-list li{
  color: var(--cgpa-danger);
  overflow-wrap: anywhere;
}.tc-wp-tool-root .cgpa-output-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}.tc-wp-tool-root .cgpa-shortcuts{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 14px;
}.tc-wp-tool-root .cgpa-shortcut{
  color: var(--cgpa-navy);
  border-color: #cfdae7;
  background: linear-gradient(180deg, #ffffff, #f3f7fb);
}@media (min-width: 320px) and (max-width: 374px) {.tc-wp-tool-root .cgpa-tool-wrap{
    padding: 18px 10px;
  }.tc-wp-tool-root .cgpa-hero h1{
    font-size: 1.75rem;
  }.tc-wp-tool-root .cgpa-hero p{
    font-size: 0.92rem;
  }.tc-wp-tool-root .cgpa-card, .tc-wp-tool-root .cgpa-term-grid, .tc-wp-tool-root .cgpa-course-row, .tc-wp-tool-root .cgpa-preview-grid, .tc-wp-tool-root .cgpa-output-actions, .tc-wp-tool-root .cgpa-shortcuts{
    grid-template-columns: 1fr !important;
  }.tc-wp-tool-root .cgpa-input-panel, .tc-wp-tool-root .cgpa-output-panel{
    grid-column: 1 / -1;
    max-width: 100%;
    min-width: 0;
    padding: 12px;
  }.tc-wp-tool-root .cgpa-card{
    gap: 12px;
    padding: 10px;
  }.tc-wp-tool-root .cgpa-field input, .tc-wp-tool-root .cgpa-field select, .tc-wp-tool-root .cgpa-course-row input, .tc-wp-tool-root .cgpa-course-row select, .tc-wp-tool-root .cgpa-btn, .tc-wp-tool-root .cgpa-shortcut{
    min-height: 42px;
    font-size: 0.9rem;
  }.tc-wp-tool-root .cgpa-course-row{
    padding: 10px;
    gap: 9px;
  }.tc-wp-tool-root .cgpa-remove-course{
    width: 100%;
  }.tc-wp-tool-root .cgpa-stat-card{
    padding: 12px;
  }.tc-wp-tool-root .cgpa-stat-card strong{
    font-size: 1.08rem;
  }.tc-wp-tool-root .cgpa-result-value{
    font-size: 2.25rem;
  }}@media (min-width: 375px) and (max-width: 429px) {.tc-wp-tool-root .cgpa-tool-wrap{
    padding: 22px 12px;
  }.tc-wp-tool-root .cgpa-hero h1{
    font-size: 2rem;
  }.tc-wp-tool-root .cgpa-hero p{
    font-size: 0.96rem;
  }.tc-wp-tool-root .cgpa-card, .tc-wp-tool-root .cgpa-term-grid, .tc-wp-tool-root .cgpa-course-row, .tc-wp-tool-root .cgpa-preview-grid, .tc-wp-tool-root .cgpa-output-actions, .tc-wp-tool-root .cgpa-shortcuts{
    grid-template-columns: 1fr !important;
  }.tc-wp-tool-root .cgpa-input-panel, .tc-wp-tool-root .cgpa-output-panel{
    grid-column: 1 / -1;
    max-width: 100%;
    min-width: 0;
    padding: 14px;
  }.tc-wp-tool-root .cgpa-card{
    gap: 14px;
    padding: 11px;
  }.tc-wp-tool-root .cgpa-field input, .tc-wp-tool-root .cgpa-field select, .tc-wp-tool-root .cgpa-course-row input, .tc-wp-tool-root .cgpa-course-row select, .tc-wp-tool-root .cgpa-btn, .tc-wp-tool-root .cgpa-shortcut{
    min-height: 44px;
    font-size: 0.92rem;
  }.tc-wp-tool-root .cgpa-remove-course{
    width: 100%;
  }.tc-wp-tool-root .cgpa-stat-card{
    padding: 13px;
  }.tc-wp-tool-root .cgpa-stat-card strong{
    font-size: 1.12rem;
  }.tc-wp-tool-root .cgpa-result-value{
    font-size: 2.45rem;
  }}@media (min-width: 430px) and (max-width: 767px) {.tc-wp-tool-root .cgpa-tool-wrap{
    padding: 26px 14px;
  }.tc-wp-tool-root .cgpa-hero h1{
    font-size: 2.25rem;
  }.tc-wp-tool-root .cgpa-hero p{
    font-size: 1rem;
  }.tc-wp-tool-root .cgpa-card, .tc-wp-tool-root .cgpa-term-grid, .tc-wp-tool-root .cgpa-course-row, .tc-wp-tool-root .cgpa-preview-grid, .tc-wp-tool-root .cgpa-shortcuts{
    grid-template-columns: 1fr !important;
  }.tc-wp-tool-root .cgpa-input-panel, .tc-wp-tool-root .cgpa-output-panel{
    grid-column: 1 / -1;
    max-width: 100%;
    min-width: 0;
    padding: 15px;
  }.tc-wp-tool-root .cgpa-card{
    gap: 15px;
    padding: 12px;
  }.tc-wp-tool-root .cgpa-field input, .tc-wp-tool-root .cgpa-field select, .tc-wp-tool-root .cgpa-course-row input, .tc-wp-tool-root .cgpa-course-row select, .tc-wp-tool-root .cgpa-btn, .tc-wp-tool-root .cgpa-shortcut{
    min-height: 45px;
    font-size: 0.94rem;
  }.tc-wp-tool-root .cgpa-remove-course{
    width: 100%;
  }.tc-wp-tool-root .cgpa-stat-card{
    padding: 14px;
  }.tc-wp-tool-root .cgpa-stat-card strong{
    font-size: 1.16rem;
  }.tc-wp-tool-root .cgpa-result-value{
    font-size: 2.65rem;
  }}@media (min-width: 768px) and (max-width: 1023px) {.tc-wp-tool-root .cgpa-tool-wrap{
    padding: 30px 20px;
  }.tc-wp-tool-root .cgpa-hero h1{
    font-size: 2.7rem;
  }.tc-wp-tool-root .cgpa-hero p{
    font-size: 1.02rem;
  }.tc-wp-tool-root .cgpa-card{
    grid-template-columns: 1fr;
    gap: 18px;
  }.tc-wp-tool-root .cgpa-term-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.tc-wp-tool-root .cgpa-course-row{
    grid-template-columns: minmax(0, 1.2fr) minmax(90px, 0.5fr) minmax(120px, 0.6fr) 42px;
  }.tc-wp-tool-root .cgpa-preview-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.tc-wp-tool-root .cgpa-shortcuts{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.tc-wp-tool-root .cgpa-input-panel, .tc-wp-tool-root .cgpa-output-panel{
    padding: 17px;
  }.tc-wp-tool-root .cgpa-stat-card{
    padding: 15px;
  }.tc-wp-tool-root .cgpa-stat-card strong{
    font-size: 1.2rem;
  }}@media (min-width: 1024px) and (max-width: 1199px) {.tc-wp-tool-root .cgpa-tool-wrap{
    padding: 34px 24px;
  }.tc-wp-tool-root .cgpa-card{
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: 20px;
  }.tc-wp-tool-root .cgpa-term-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.tc-wp-tool-root .cgpa-preview-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }.tc-wp-tool-root .cgpa-shortcuts{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }.tc-wp-tool-root .cgpa-stat-card{
    padding: 14px;
  }.tc-wp-tool-root .cgpa-stat-card strong{
    font-size: 1.18rem;
  }}@media (min-width: 1200px) {.tc-wp-tool-root .cgpa-tool-wrap{
    padding: 40px 28px;
  }.tc-wp-tool-root .cgpa-card{
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 24px;
  }.tc-wp-tool-root .cgpa-preview-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }.tc-wp-tool-root .cgpa-shortcuts{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}.tc-wp-tool-root{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  z-index: 0 !important;
}

.tc-wp-tool-root .cgpa-add-course {}
.tc-wp-tool-root .cgpa-clear {}
.tc-wp-tool-root .cgpa-completed {}
.tc-wp-tool-root .cgpa-copy {}
.tc-wp-tool-root .cgpa-course-count {}
.tc-wp-tool-root .cgpa-custom-scale {}
.tc-wp-tool-root .cgpa-decimals {}
.tc-wp-tool-root .cgpa-previous {}
.tc-wp-tool-root .cgpa-scale {}
.tc-wp-tool-root .cgpa-semester {}
.tc-wp-tool-root .cgpa-standing {}
.tc-wp-tool-root .cgpa-total-credits {}
.tc-wp-tool-root .cgpa-total-points {}