/* style.css – Clean & Professional Look */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2e5 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1100px;
  margin: 30px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

header {
  background: #2c3e50;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

nav {
  background: #34495e;
  padding: 15px;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  margin: 0 10px;
  background: #3498db;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  background: #2980b9;
}

nav a.active {
  background: #2ecc71 !important;
  color: white !important;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
  transform: translateY(-3px);
  border-radius: 8px;
}

main {
  padding: 40px;
}

form {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

input,
select,
button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
}

.btn-register {
  display: inline-block;
  background: #27ae60;
  color: white !important;
  font-weight: bold;
  font-size: 17px;
  padding: 14px 34px;
  margin: 25px 0;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-register:hover {
  background: #219a52;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

.btn-register:active {
  transform: translateY(0);
}

button {
  background: #27ae60;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  background: #219a52;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th {
  background: #2c3e50;
  color: white;
  padding: 15px;
  text-align: left;
}

td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.bar-bg {
  background: #ecf0f1;
  height: 28px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
}

.bar {
  height: 100%;
  border-radius: 14px;
  transition: width 0.8s ease;
}

.green {
  background: #27ae60;
}
.orange {
  background: #e67e22;
}
.red {
  background: #c0392b;
}

.success {
  color: #27ae60;
  font-weight: bold;
  margin: 20px 0;
}
.error {
  color: #c0392b;
  font-weight: bold;
  margin: 20px 0;
}
h2 {
  margin-top: 50px !important;
  margin-bottom: 20px !important;
}

table {
  margin-bottom: 60px !important;
}

form {
  margin-bottom: 50px !important;
}

footer {
  text-align: center;
  padding: 20px;
  background: #2c3e50;
  color: white;
  margin-top: 40px;
}
