/* Container for all course inputs */
#courseContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 3em;

}
.margin-top{
  margin-top:38px !important;
}
/* Flex row for a single course */
.amc-course-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border:2px solid #eee;
  padding:20px 0px 20px 20px ;
  border-radius:10px;
}

/* Inputs and selects */
.amc-course-row  input,
.amc-course-row select {
  flex: 1;
}

select.amc-grade{
  max-width: 200px;
  height:45px !important;
  border-left: 2px solid #eee !important;
  border-right: 0px solid #eee !important;
  border-top: 2px solid #eee !important;
  border-bottom: 2px solid #eee !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  
}
select.amc-type{
  max-width: 200px;
  height:45px !important;
  border-left: 0px solid #eee !important;
  border-right: 2px solid #eee !important;
  border-top: 2px solid #eee !important;
  border-bottom: 2px solid #eee !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
  
}

input.amc-unit{
  max-width: 200px;
  height:45px !important;
  border-left: 2px solid #eee !important;
  border-right: 2px solid #eee !important;
  border-top: 2px solid #eee !important;
  border-bottom: 2px solid #eee !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  
}
input.amc-course{
  max-width: 200px;
  height:45px !important;
  border-left: 2px solid #eee !important;
  border-right: 0px solid #eee !important;
  border-top: 2px solid #eee !important;
  border-bottom: 2px solid #eee !important;
  border-top-left-radius: 5px !important;
  border-bottom-left-radius: 5px !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  
}

 button.remove-btn{ 
    width: 30px;
    height: 30px;
    margin-bottom:0px;
    background:#fff !important;
    color:#fff;
    border:none;
    line-height:30px;
    margin-left:10px !important;
    margin-right:-15px !important;
    padding:0px;
    cursor:pointer;
   
}
.remove-btn  img{ 
    height: 30px !important;
    width: 30px !important;
   padding:1px !important;
  border-radius:50% !important;
  box-shadow: 0 5px 5px rgb(0 0 0 / .05) !important;
}

/* GPA History (optional if re-used) */
#amcas-history-list {
  margin-top: 10px;
}

#amcas-history-list div {
  background-color: #fafafa;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
}
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.85em;
  border-radius: 12px;
  font-weight: bold;
}

.gpa-4 { color: #2e7d32; font-weight: bold; }   /* 3.7 and above - dark green */
.gpa-3 { color: #558b2f; font-weight: bold; }   /* 3.0 to 3.69 - medium green */
.gpa-2_5 { color: #fbc02d; font-weight: bold; } /* 2.5 to 2.99 - yellow */
.gpa-2 { color: #f57f17; font-weight: bold; }   /* 2.0 to 2.49 - orange */
.gpa-below { color: #d32f2f; font-weight: bold; } /* below 2.0 - red */

.amc-tool-box{
  width: 100%;
  margin-top:50px;
  border: 2px solid #eee;
  padding: 10px;
  border-top-left-radius: 10px ;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 55px ;
  border-bottom-right-radius: 10px;
}
.totalamcas{
  display: flex;
  justify-content: center;
  align-items: center;
}
.total-title{
  margin-top:-10px;
  margin-right:15px;
  font-weight: 700;
  font-size:20px;
}
.amcas-button{
border-radius:30px;
margin-bottom:10px !important;
}
#amcas-gpa-circle{
  display: flex;
  justify-content: end;
  margin-top:-150px;
  margin-right:-13px;
 
} 
#amcas-gpa-circle .amcas-gpa  {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 110px;
    font-weight: 700;
    font-size: 30px;
    margin-bottom:20px;
    background: #eee;
    border: 2px solid #eee;
    padding: 8px 15px;
    border-radius: 50% !important;
    box-shadow: 0 5px 5px rgb(0 0 0 / .05);
}

.amcas-gpa.amc-low {
    background-color: #f8d7da !important;
    color: #721c24;
    border: 2px solid #f8d7da !important;
    padding: 1px 10px 1px 10px;
    border-radius: 20px;
}

.amcas-gpa.amc-mid {
    background-color: #fff3cd !important;
    color: #856404;
    border: 2px solid #fff3cd !important;
    padding: 1px 10px 1px 10px;
    border-radius: 20px;
}

.amcas-gpa.amc-good {
    background-color: #cce5ff !important;
    color: #004085;
    border: 2px solid #cce5ff !important;
    padding: 1px 10px 1px 10px;
    border-radius: 20px;
}

.amcas-gpa.amc-excellent {
    background-color: #d4edda !important;
    color: #155724;
    border: 2px solid #d4edda !important;
    padding: 1px 10px 1px 10px;
    border-radius: 20px;
}


.remove-cn {
        margin-right: inherit;
        margin-top: inherit;
  
  }

#gpa-report p {
  font-size: 16px;
  margin: 6px 0;
}

#gpa-report table th,
#gpa-report table td {
  padding: 8px;
  border: 1px solid #ccc;
  text-align: center;
}

#gpa-report h2 {
  font-weight: 700;
}


@media (max-width: 480px) {

.remove-cn {
        margin-right: -20px;
        margin-top: -53px;
  
  }

.amc-course-row {
  padding:20px 20px 20px 20px ;

}
select.amc-grade {
    max-width: 200px;
    height: 45px !important;
    border-left: 2px solid #eee !important;
    border-right: 2px solid #eee !important;
    border-top: 2px solid #eee!important;
    border-bottom: 0px solid #eee !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px!important;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 0px !important;
}
 select.amc-type {
    max-width: 200px;
    height: 45px !important;
    border-left: 0 solid #eee !important;
    border-right: 2px solid #eee !important;
    border-top: 2px solid #eee !important;
    border-bottom: 2px solid #eee !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 5px !important;
    margin-right:-5px;
}
 input.amc-unit {
    max-width: 200px;
    height: 45px !important;
    border-left: 2px solid #eee !important;
    border-right: 2px solid #eee !important;
    border-top: 2px solid #eee !important;
    border-bottom: 2px solid #eee !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 5px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}
  input.amc-course {
    max-width: 200px;
    height: 45px !important;
    border-left: 2px solid #eee !important;
    border-right: 0 solid #eee !important;
    border-top: 2px solid #eee !important;
    border-bottom: 0px solid #eee !important;
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}
  #amcas-gpa-circle .amcas-gpa  {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    font-weight: 700;
    font-size: 30px;
    background: #eee;
    border: 2px solid #eee;
    padding: 8px 15px;
    border-radius: 50% !important;
    box-shadow: 0 5px 5px rgb(0 0 0 / .05);
}
  #amcas-gpa-circle{
  margin-top:-147px;
 
}
}

@keyframes glowHighlight {
  0% { box-shadow: 0 0 0 rgba(0, 128, 255, 0); }
  50% { box-shadow: 0 0 20px rgba(0, 128, 255, 0.7); }
  100% { box-shadow: 0 0 0 rgba(0, 128, 255, 0); }
}

.amc-highlight-glow {
  animation: glowHighlight 2s ease-in-out;
  transition: box-shadow 0.3s ease;
  border-top-left-radius: 10px ;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 55px ;
  border-bottom-right-radius: 10px;
}

