.lsac-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;
}
.lsac-add-sem-block{

  margin-top:-37px !important;
  margin-bottom:15px;
}

.lsac-gpa-container {
  max-width: 800px;
  margin: auto;
}
.lsac-semester-header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  border-bottom:2px solid #eee;
  margin-bottom:10px;
  padding:10px 20px 10px 20px;
} 
.lsac-add-semester{
  border: 2px solid #eee !important;
  color:#000 !important;
  background:#fff !important;
  border-radius: 20px !important;
}
.lsac-add-semester:hover{
  box-shadow: 0 10px 5px rgb(0 0 0 / 0.05);

}
.lsac-calculator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0px 10px 0px;
}

.lsac-badge {
  background: #cda836;
  color: #fff;
  padding: 1px 8px;
  font-size: 11px;
  font-style:italic;
  border-radius: 6px;
}
.lsac-badge.bfooter {
  background: #cda836;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  font-style:italic;
  border-radius: 6px;
}
.lsac-highlight {
  box-shadow: 0 0 12px 4px #2ecc71;
  transition: box-shadow 0.3s ease-in-out;
}

#lsac-grading-mode{
 height:auto;
}
#lsac-grading-mode {
    line-height:20px;
    max-width: 200px !important;
    padding: 2px 20px 1px 20px;
    border-color: 1px solid #eee;
    border-radius: 30px;
    outline: none !important;
    background-size: 20px;
    cursor:pointer;
}
.lsac-semester-footer{
  display:flex;
  justify-content: space-between;
  align-items: center;
  border-top:2px solid #eee;
  margin-bottom:10px;
  padding:3px 20px 5px 20px;
}
/* Container for all semesters */
.lsac-gpa-container .lsac-semesters-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lsac-courses-container{
  padding: 5px 20px 20px 20px;
}
#lasc-gpa-circle{
  display: flex;
  justify-content: end;
  margin-top:-85px;
  margin-right:-13px;
  margin-bottom:15px;
}
 #lasc-gpa-circle .lsac-title{
   margin:45px 10px 0px 0px;
} 
#lsac-gpa-result{
  display: flex;
  justify-content: center;
  align-items: center; 
  width: 110px;
  height: 110px;
  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 / 0.05);

}
/* Each semester block */
.lsac-gpa-container .lsac-semester {
  border: 2px solid #eee;
  border-radius: 10px;
  background: inherit;
}

/* Flex layout for each course row */
.lsac-gpa-container .lsac-course {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
 
  margin-bottom: 10px;
}

button.lsac-add-course{
    background:#fff !important;
    color:#000;
    line-height:30px !important;
    border:2px solid #eee;
    padding:1px 20px 1px 1px !important;
    border-radius: 30px;
    cursor:pointer;
}
.lsac-add-course  img{ 
    height: auto !important;
    width: 30px !important;
}
/* Input fields */
.lsac-gpa-container .lsac-course input[type="text"],
.lsac-gpa-container .lsac-course input[type="number"],
.lsac-gpa-container .lsac-course select {
  font-size: 14px;
  min-width: 120px;
  flex: 1;
}
.lsac-repeated{
margin-left:10px;
}
.lsac-converted-grade{
margin-left: 10px;
}
select.lsac-grade-select{
  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.lsac-grade-percentage{
  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.lsac-unit-name{
  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.lsac-course-name{
  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;
  
}
/* Grade display for percentage mode */
.lsac-gpa-container .lsac-converted-grade {
  font-style: italic;
  color: #666;
}

/* Style for remove buttons as images */
.lsac-gpa-container .lsac-remove-course,
.lsac-gpa-container .lsac-remove-semester {
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: opacity 0.2s ease;
    padding:1px;
    border-radius:50%;
    background:#fff;
    box-shadow: 0 5px 5px rgb(0 0 0 / 0.05);
   margin-left:10px;
}

.lsac-gpa-container .lsac-remove-course:hover,
.lsac-gpa-container .lsac-remove-semester:hover {
  opacity: 0.7;
}
.button-f{
  display:flex;
}
.button-f .lsac-print-button{
margin-left:auto !important;

}

#lsac-calculate-gpa{
border-radius:30px !important;
}

 .lsac-low {
    background-color: #f8d7da !important;
    color: #721c24;
    border: 2px solid #f8d7da !important;
   
}

.lsac-mid {
    background-color: #fff3cd !important;
    color: #856404;
    border: 2px solid #fff3cd !important;
}

.lsac-good {
    background-color: #cce5ff !important;
    
    color: #004085;
    border: 2px solid #cce5ff !important;
}

.lsac-excellent {
    background-color: #d4edda !important;
    color: #155724;
    border: 2px solid #d4edda !important;
}
.lsac-remove-course {
        margin-right: inherit;
        margin-top: inherit;
  
  }

@media (max-width: 480px) {

  
 .lsac-remove-course {
        margin-right: -20px;
        margin-top: -60px;
  }
  .lsac-remove-semester {
        margin-right: -10px;
  }
  .lsac-remove-semester, .lsac-remove-course{
    padding:1px;
    border-radius:50%;
    background:#fff;
    box-shadow: 0 5px 5px rgb(0 0 0 / 0.05);
    margin-left:0px;
  }
  
.lsac-repeated{
margin-left:10px;
}
.lsac-converted-grade{
margin-left: 2px;
}
 .lsac-courses-container{
  padding: 5px 20px 20px 20px;
}
  
input.lsac-grade-percentage {
    max-width: 200px;
    height: 45px !important;
    border-left: 2px solid #eee !important;
    border-right: 2px solid #eee !important;
    border-top: 0px 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: 5px !important;
}
 select.lsac-grade-select {
    max-width: 200px;
    height: 45px !important;
    border-left: 2px solid #eee !important;
    border-right: 2px solid #eee !important;
    border-top: 0px 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: 5px !important;
    margin-right:-5px;
}
 input.lsac-unit-name {
    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: 5px !important;
    border-bottom-right-radius: 5px !important;
}
  input.lsac-course-name {
    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: 2px 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;
}
  #lsac-gpa-result  {
    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);
}
}

@keyframes glow {
  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); }
}

.lsac-gpa-glow {
  animation: glow 1.5s ease-out 1;
  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;
}

.lsac-error {
  background-color: #fdecea !important;
}

.lsac-duplicate-error {
  background-color: #fff3e0 !important;
}
