/* ===============================
   APTIC HR SYSTEM - GLOBAL STYLES
   =============================== */
:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --secondary-color: #eaf4ff;
  --text-color: #333;
  --background-color: #f4f6f9;
  --border-color: #ccc;
  --white: #fff;
}
/* General Body Styling */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f9;
  margin: 0;
  padding: 20px;
  color: #333;
}

/* Headings */
h2, h3 {
  color: #2c3e50;
}

/* -----------------------------
   FORMS
------------------------------ */
form {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  margin-bottom: 30px;
}

form label {
  display: block;
  margin-top: 10px;
  font-weight: 500;
}

form input[type="text"],
form input[type="email"],
form input[type="date"],
form input[type="file"],
form select {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

form button {
  margin-top: 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease-in-out;
}

form button:hover {
  background-color: #0056b3;
}

/* -----------------------------
   TABLES
------------------------------ */
table {
  border-collapse: collapse;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

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

table th {
  background-color: #007bff;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
}

table tr:hover {
  background-color: #f1f1f1;
}

/* Action Links */
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -----------------------------
   DASHBOARD
------------------------------ */
.dashboard-wrapper {
  max-width: 700px;
  margin: 80px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.dashboard-wrapper h2 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 12px;
}

.dashboard-wrapper p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.dashboard-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-menu li {
  margin: 15px 0;
}

.dashboard-menu a {
  text-decoration: none;
  background: #0059b3;
  color: #fff;
  padding: 14px 25px;
  border-radius: 10px;
  display: inline-block;
  transition: background 0.3s ease;
  font-size: 17px;
  font-weight: 500;
}

.dashboard-menu a:hover {
  background: #003d80;
}

.dashboard-menu a.logout {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* -----------------------------
   RESPONSIVENESS
------------------------------ */
@media (max-width: 768px) {
  table, form {
    font-size: 14px;
  }

  table th, table td {
    padding: 10px;
  }

  .dashboard-wrapper {
    margin: 40px 10px;
    padding: 30px 20px;
  }

  .dashboard-menu a {
    width: 100%;
    text-align: center;
  }
}
/* Logo */
.company-logo {
  width: 120px;
  margin-bottom: 20px;
}

/* Fade-in animation */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stat Cards */
.stat-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px auto 40px;
  flex-wrap: wrap;
}

.card {
  background: #f1f6ff;
  border: 2px solid #007bff;
  padding: 20px;
  width: 150px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 10px;
  color: #007bff;
}

.card p {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: #2c3e50;
}
/* Logo */
.company-logo {
  width: 120px;
  margin-bottom: 20px;
}

/* Fade-in animation */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stat Cards */
.stat-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px auto 40px;
  flex-wrap: wrap;
}

.card {
  background: #f1f6ff;
  border: 2px solid #007bff;
  padding: 20px;
  width: 150px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 10px;
  color: #007bff;
}

.card p {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: #2c3e50;
}
/* Logo */
.company-logo {
  width: 120px;
  margin-bottom: 20px;
}

/* Fade-in animation */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stat Cards */
.stat-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px auto 40px;
  flex-wrap: wrap;
}

.card {
  background: #f1f6ff;
  border: 2px solid #007bff;
  padding: 20px;
  width: 150px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 10px;
  color: #007bff;
}

.card p {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: #2c3e50;
}

