body {
  background-color: #ffffff;
  color: #000000;
  padding-top: 50px;
  padding-bottom: 50px;
  font-family: 'Roboto', sans-serif;
}

main {
  padding-top: 40px;
  padding-bottom: 40px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000000; 
  color: #ffffff;
  padding: 10px 0;
  z-index: 100;
}
footer {
  background-color: #000000;
  color: #ffffff;
  padding: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  text-align: center;
}

a {
  text-decoration: none;
}

table {
  width: 90%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #cccccc;
  text-align: center;
  padding: 8px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

tr {
  vertical-align: middle;
}

th {
  background-color: #ffffff;
  font-weight: bold;
}

.circle {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  background-color: #dddddd;
  color: #000000;
  line-height: 30px; 
  border: 1px solid #000;
  border-radius: 50%; 
  font-size: 16px;
  padding: 5px;
}

.circle:hover {
  background-color: #343434; /* Change background color on hover */
  color: #ffffff;
}

.circle:active {
  transform: scale(1.2); /* Shrink the circle on click */
}

/* Login Page Styles */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 20px;
}

.login-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 24px;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.login-header {
  margin-bottom: 20px;
}

.login-header h1 {
  color: #1a1a1a;
  font-size: 22px;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.login-header p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.btn-facebook {
  background: #07387a;
  color: #ffffff;
}

.btn-facebook:hover {
  background: #0a4a9e;
  transform: translateY(-1px);
}

.btn-google {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #d0d0d0;
}

.btn-google:hover {
  background: #f5f5f5;
  border-color: #c0c0c0;
  transform: translateY(-1px);
}

.btn-logout {
  background: #1a1a1a;
  color: #ffffff;
}

.btn-logout:hover {
  background: #333333;
  transform: translateY(-1px);
}

.btn i {
  font-size: 16px;
}

.login-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.login-footer p {
  color: #999999;
  font-size: 11px;
  margin: 0;
  line-height: 1.4;
}

.user-info {
  margin-bottom: 20px;
  text-align: center;
}

.user-info p {
  color: #666666;
  font-size: 13px;
  margin: 6px 0;
}

.user-info i {
  margin-right: 6px;
  color: #999999;
  font-size: 12px;
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 12px auto 0;
  display: block;
  border: 2px solid #e0e0e0;
}

/* Form Styles */
.news-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  color: #333333;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 14px;
  font-family: arial, sans-serif;
  transition: all 0.2s ease;
  background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1a1a;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999999;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* News Form Card */
.news-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 32px;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.news-header {
  margin-bottom: 28px;
}

.news-header h1 {
  color: #1a1a1a;
  font-size: 28px;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.news-header p {
  color: #666666;
  font-size: 15px;
  margin: 0;
}

/* Submit button styling */
.btn-submit {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 20px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Dashboard Styles */
.dashboard-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

.dashboard-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  color: #1a1a1a;
}

.dashboard-link:hover {
  background-color: #ffffff;
  border-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-link i {
  font-size: 24px;
  color: #1a1a1a;
  width: 32px;
  text-align: center;
}

.link-content h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.link-content p {
  margin: 0;
  font-size: 13px;
  color: #666666;
}

.logout-link {
  background-color: #fff0f0;
  border-color: #ffcccc;
}

.logout-link:hover {
  background-color: #ffe0e0;
  border-color: #ff9999;
}

.logout-link i {
  color: #cc0000;
}

@media (min-width: 768px) {
  .dashboard-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 16px;
  }

  .login-card {
    padding: 20px;
    max-width: 100%;
  }

  .login-header h1 {
    font-size: 20px;
  }

  .btn {
    padding: 9px 14px;
    font-size: 12px;
  }
}
