*{
    padding:0px;
    margin:0px;
}

body{
    background-color:#0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#card{
    background-color: #334155;
    margin-top: 20px;
    width:600px;
    height:auto;
}
#inputContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:30px;
    margin:20px;
    
}
#input{
    width:fit-content;
    height:40px;
}

#addButton{
    background-color: #3498db;
    width:70px;
    height:50px;
    font-size: 1.1rem;
    color:#ffffff;
}

#subjectCardContainer{
    background-color: transparent;
    display: flex;
    align-items: center;
    flex-direction: column;
    width:auto;
    padding:20px;
    gap:20px;
    border:none;
    margin: 20px;
}

.subjectCard {
    display:flex;
    flex-direction: column;
    gap:10px;
    padding: 20px;
    width: 300px;
    background-color: #1e293b;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: none;
    line-height: 1;
    opacity: 1;
    margin: 20px auto;
}

.subjectCard button {
    margin: 10px;
    padding: 8px 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.subjectCard div {
    margin: 4 px 0;
}

.subjectCard h2 {
    margin-bottom: 10px;
    text-align: center;
    color:white;

}
#TotalClasses{
    color: #e2e8f0; 
    font-size: 1rem;
}

#PresentClasses{
    color: #e2e8f0; 
    font-size: 1rem;
}

.percentageText{
    color :#38bdf8;
    font-weight: bold;
    font-size:25px;
}

.RequiredText{
    color: #e2e8f0; 
    font-size: 1rem;
}

.ButtonContainer{
    display:flex;
    justify-content: center;
    gap:10px;
    margin-top: 10px;
     
}

.PresentButton{
    background-color: #2ecc71;
    color:#ffffff;
    
}

.AbsentButton{
    background-color:  #95a5a6;
    color:#ffffff;
    opacity: 1;
    
}

.DeleteButton{
    background-color: #c0392b;
    color:#ffffff;
}

.UndoButton{
    background-color: #1abc9c;
    color:#ffffff;
    opacity: 1;
}

.resetButton{
    background-color: #f39c12;
    color:#ffffff;
}

.label{
    color:#94a3b8;
    font-size: 14px;
    opacity: 0.8;
}

.value{
    color:#ffffff;
    font-weight: bold;
}

button:hover{
    opacity: 0.6;
    transform: scale(1.1);
    transition:0.3s ease;
}

.Warning{
    color: #facc15;  
}

.buckMessage{
    font-size: 15px;
    margin-top: 10px;
}

.Safe{
    color:#22c55e;
    font-weight: bold;
    font-size: 18px;
}

.Danger{
    color:#f87171;
}

#input2{
    display:block;
    width: 80%;
    height: 30px;
    font-size: 20px;
    margin: 10px auto;
    padding: 10px;

}

.EditButtonContainer{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.EditButton{
    background-color: #9b59b6;
    color:white;
    opacity: 1;
}

.SaveButton{
    background-color: #2980b9;
    color:white;
}

.CancelButton{
    background-color: #e74c3c;
    color:white;
}

.editWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;   
  gap: 10px;
}

.editWrapper input {
  width: 40%;
  text-align: center;
  padding: 8px;
}


.editWrapper div {
  display: flex;
  gap: 10px;
}

