/* Define brand colors and fonts for easy reuse */
:root {
  --primary-blue: #0a2143;
  --accent-orange: #f58634;
  --light-gray: #f8f9fa;
  --text-color: #333;
  --border-color: #ddd;
  --font-main: "Poppins", sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-gray);
  display: grid;
  place-items: center;
  height: 100vh;
  margin: 0;
  color: var(--text-color);
}

/* Style for the logo */
.logo {
  width: 150px;
  margin-bottom: 20px;
}

/* Updated selector to style both containers */
#login-container,
#signup-container,
#app-container {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  text-align: center;
  border-top: 5px solid var(--accent-orange);
}

#login-container,
#app-container {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px Rems(0, 0, 0, 0.1);
  width: 350px;
  text-align: center;
  border-top: 5px solid var(--accent-orange);
}

h2 {
  color: var(--primary-blue);
  margin-top: 0;
  font-weight: 600;
}

/* Form Styles */
input {
  font-family: var(--font-main);
  width: calc(100% - 22px);
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
}

input:focus {
  outline: none;
  border-color: var(--accent-orange);
}

/* Button Styles */
button {
  font-family: var(--font-main);
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  color: white;
  background-color: var(--accent-orange); /* Orange for main actions */
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e07020; /* A darker orange for hover */
}

/* Specific styles for Clock In, Out, and Logout buttons */
#clockin-button {
  background-color: #28a745; /* Green for go */
}
#clockin-button:hover {
  background-color: #218838;
}

#logout-button,
#clockout-button {
  background-color: var(--primary-blue); /* Blue for secondary actions */
}

#logout-button:hover,
#clockout-button:hover {
  background-color: #081a33;
}

/* NEW: Styles for the toggle links */
.auth-link {
  margin-top: 20px;
  font-size: 14px;
}
.auth-link a {
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: none;
}
.auth-link a:hover {
  text-decoration: underline;
}

/* NEW: Hide the signup and app containers by default */
#signup-container,
#app-container {
  display: none;
}

/* Add to the bottom of style.css */

#history-container {
  margin-top: 30px;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

th,
td {
  border-bottom: 1px solid var(--border-color);
  padding: 10px;
  text-align: left;
  font-size: 14px;
}

th {
  font-weight: 600;
  color: var(--primary-blue);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Add this to the bottom of your style.css file */

.secondary-button {
  background-color: #6c757d; /* A neutral gray */
  font-weight: 400;
}

.secondary-button:hover {
  background-color: #5a6268;
}

#home-location-status {
  font-size: 12px;
  color: #6c757d;
  margin-top: 15px;
}
