/* style.css */

/* Global styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f6f9;
  color: #333;
}

/* Layout container */
.container {
  display: flex;
  flex-direction: row;
  padding: 20px;
  gap: 20px;
}

/* Left and right sections */
.left-panel {
  flex: 1;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.right-panel {
  flex: 1.2;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

/* Button styling */
#btn1 {
  background-color: #28a745;
  color: white;
  padding: 10px 25px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
}
#btn1:hover {
  background-color: #218838;
}

/* Question heading */
#MSQ h1 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* Radio options */
label {
  display: block;
  background-color: #e9ecef;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
label:hover {
  background-color: #dcdfe3;
}

/* Marks display */
#Marks {
  margin-top: 20px;
  padding: 15px;
  background-color: #e0ffe0;
  border: 2px solid #28a745;
  color: #155724;
  font-weight: bold;
  border-radius: 6px;
  font-size: 18px;
  text-align: center;
}

/* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 12px 15px;
  border: 1px solid #dee2e6;
  text-align: left;
}

th {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f8f9fa;
}

tr:hover {
  background-color: #e2e6ea;
}
