input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

* {
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      box-sizing: border-box;
    }

    body {
      background-color: #f9f4e0;
      display: flex;
      justify-content: center;
      align-items: center;
    }

#whole-box{
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.problem-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.arrow-btn {
  background: none;       /* Remove white background */
  border: none;
  padding: 0;              /* Remove extra space */
  cursor: pointer;         /* Pointer on hover */
  line-height: 0; 
  position: absolute;
  left: 10px;
  color: white;
}
.arrow-btn svg {
  display: block;          /* Remove inline gap */
}

.partial-1, .partial-2,.partial-3,.answer-row{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

#partial-section{
  width: 100%;
}

.partial-container{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    width: 100%;
}
input:disabled {
  background-color: #fefefe;
  opacity: 1.0;
  cursor: not-allowed;
  color: #080808;
  border-color: #000000;
}


.steps{
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.num1, .num2{
    display: flex;
    align-items: center;
    justify-content: center;
}

.num2{
    margin-top: 1rem;
}


.num1-plus-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem; /* spacing between number and + */
}

.plus-symbol {
  font-size: 1.5rem;
  color: black;
  margin-top: 0.7rem;
}

.vertical-line {
  width: 100%;               /* Thickness of the line */
  height: 0.3rem;            /* Height of the line */
  background-color: black;  /* Color of the line */
  margin: 1rem 0;           /* Optional: space around the line */
}

.logo {
  position: absolute;
  left: 70px;
  color: white;
  text-decoration: none;
}

.question-dropdown {
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 8px;
  background-color: #f9f4e0;
  color: #000000;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  appearance: none; /* Removes native arrow for better styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

/* Optional hover/focus styling */
.question-dropdown:hover,
.question-dropdown:hover {
  background-color: #faebaa;
}



.next-question-btn {
  background-color: rgb(1, 162, 87);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 2.5rem;
}

.next-question-btn:hover {
  background-color: #45a049;
  transform: translateY(-2px);
}

.next-question-btn:active {
  transform: translateY(1px);
}


.hide{
    display: none;
}

.carry-box{
    display: flex;
    margin-top: 0vh;
    margin-bottom: 2vh;
}

#carry-container{
    display: flex;
    flex-direction: column;
}
.divisor{
    height: 2.5rem;
    width: 2.8rem;
    margin-left: 1.5vh;
    text-align: center;
    border: 2px solid black;
    font-size: 1.2rem;
    color: black;
    border-radius: 0.25rem;
}



.roof {
  border-left: 4px solid black;
  border-top: 4px solid black;
  padding-left: 1rem;
  margin-top: 1rem;
}

.add-white {
  background-color: white !important;
}


.message-box {
  height: 20%;
  background-color: #f9f4e0;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.hint-message {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #010101;
  font-weight: 400;
  text-align: center;
  line-height: 3.5vh;
}

.button-row{
  display: flex;
  gap: 1rem;                /* space between buttons */
  justify-content: center; /* center the group of buttons */
  width: 80%;              /* gives space on left and right */
}

.button-row button {
  flex: 1;               /* makes both buttons grow equally */      /* optional: limit max width */
}

.hint-button {
  padding: 1rem 2rem;           /* increased padding for bigger size */
  font-size: 1.2rem;            /* larger text */
  background-color: #f9f4e0;
  color: #000000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}


.hint-button:hover {
  background-color: #000000d8;
  color: #ffffff;
}


.step-container {
  height: 75%;
  background-color: #f7f3e5;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Left Panel */
.left-panel {
  flex: 1;
  background-color: #f9f4e0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 1rem;
  margin: 1rem;
}

/* Right Panel */
.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.navbar {
  height: 10vh;
  width: 100%;
  background-color: #4c8d63f3;
  display: flex;
  align-items: center;
  justify-content: center; /* Center items horizontally by default */
  padding: 0 1rem;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
  
}
/* Main Layout */
.main-container {
  display: flex;
  height: calc(var(--vh) * 100 - 10vh);
  background-color: #4c8d63d1;
  width: 100%;
}

