.main{
	background:#fff;
}
/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

body {
    background: #f0f0f0;
    font-family: Arial, sans-serif;
}

.exam-header {
    background: #4CAF50;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.candidate-info,
.question-block,
.navigation,
.calculator {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.btn-status {
    width: 40px;
    margin: 2px;
    font-weight: bold;
}

#navigationButtons {
    overflow-y: auto;
    max-height: 400px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

#navigationButtons .btn-status {
    display: block;
    margin: 5px auto;
    width: 60px;
}

#sync-status {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #17a2b8;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    display: none;
    z-index: 1000;
}

#candidate-info img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
}

#timer {
    font-size: 24px;
    color: red;
}
