/* Base Reset and Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
  /* min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  padding: 20px;
  color: #333; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  padding: 20px;
  color: #333;
   position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('bg2.png') no-repeat center center;
    background-size: cover;
    background-position: center;

}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  position: relative;
}

h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #333;
  margin: 20px auto 0;
}

/* Links and Buttons */
a, button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

a:hover, button:hover {
  background-color: #444;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

a:active, button:active {
  transform: translateY(0);
}

/* Disabled Button */
button:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

/* Pastel Accept/Reject Buttons */
.btn-accept {
  background-color: #a8d5ba; /* pastel green */
  color: #333;
  padding: 10px 20px;
  margin-left: 5px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-accept:hover {
  background-color: #8cc9a1;
}

.btn-reject {
  background-color: #f4a8a8; /* pastel red */
  color: #333;
  padding: 10px 20px;
  margin-left: 5px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-reject:hover {
  background-color: #f09191;
}

/* Style for clickable rejection reason text */
.view-rejection {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

/* Forms */
#login-form {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus {
  outline: none;
  border-color: #666;
}

/* Tables (for timesheets and details) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 12px;
  text-align: left;
}

th {
  background-color: #333;
  color: #fff;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-out;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Timesheet View Options */
#timesheet-view-options {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

#timesheet-view-options label {
  margin-right: 10px;
}

/* Animation */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Apply animations to elements */
h1, #login-form, .landing-content {
  animation: fadeIn 0.8s ease-out forwards;
}

a, button {
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

/* Landing Page Specific */
.landing-content {
  text-align: center;
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
      font-size: 2rem;
      padding: 0 20px;
  }
  
  #login-form {
      padding: 30px;
      margin: 0 20px;
  }
  
  a, button {
      padding: 12px 28px;
  }
}

@media (max-width: 480px) {
  h1 {
      font-size: 1.8rem;
  }
  
  body {
      padding: 15px;
  }
  
  #login-form {
      padding: 20px;
  }
  
  input {
      padding: 10px;
      margin-bottom: 15px;
  }
}

/* Additional Utility Classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

