
/* INDEX */
.header {
    background-color: #4caf4f11; /* A shade of green */
    color: green;
    padding: 15px 0;
    text-align: center;
    font-size: 24px;
    /* font-weight: bold; */
    /*margin-bottom: 20px; */
}
:root {
    --primary-color: #059d29; /* A modern blue */
    --primary-dark: #086d20;
    --background-light: #F0F2F5; /* Light grey background */
    --card-background: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #666666;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    }
    body {
        font-family: 'Poppins', sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background-color: var(--background-light);
        margin: 0;
        padding: 20px;
        box-sizing: border-box;
    }
    .container {
        background-color: var(--card-background);
        padding: 40px;
        border-radius: 12px;
        box-shadow: 0 10px 30px var(--shadow-medium);
        text-align: center;
        max-width: 800px;
        width: 100%;
        transition: all 0.3s ease;
        min-height: 100px;
        /*margin-bottom: 50px;*/
    }

    h1 {
        color: var(--text-color-dark);
        /*margin-bottom: 30px;*/
        font-size: 2em;
        font-weight: 600;
    }
    .department-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 5px;
        justify-content: center;
    }
    .department-item {
        background-color: var(--primary-color);
        color: white;
        padding: 10px 15px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 1.5em;
        font-weight: 400;
        transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        /*min-height: 50px; */
        box-shadow: 0 4px 15px var(--shadow-light);
        /*margin-bottom: 0px;*/
    }
    .department-item:hover {
        background-color: var(--primary-dark);
        transform: translateY(-5px);
        box-shadow: 0 8px 25px var(--shadow-medium);
    }
    .department-item:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px var(--shadow-light);
    }
    p {
        color: var(--text-color-light);
        font-size: 1.1em;
        margin-top: 20px;
    }
    @media (max-width: 768px) {
        .container {
            padding: 30px;
        }
        h1 {
            font-size: 1.8em;
        }
        .department-item {
            font-size: 1em;
            padding: 18px 20px;
        }
    }
    @media (max-width: 480px) {
        .container {
            padding: 20px;
            border-radius: 8px;
        }
        h1 {
            font-size: 1.5em;
            margin-bottom: 25px;
        }
        .department-list {
            gap: 15px;
        }
        .department-item {
            font-size: 0.95em;
            padding: 15px;
        }
    }


/* SELECT EMPLOYEE */
body { font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: #f4f4f4; margin: 0; }
      .container { background-color: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-align: center; max-width: 800px; width: 100%; }
      h1 { color: #333; margin-bottom: 20px; }
      .employee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
      .employee-thumbnail {
          text-align: center;
          border: 1px solid #ddd;
          padding: 10px;
          border-radius: 5px;
          background-color: #f9f9f9;
          transition: transform 0.2s ease;
          text-decoration: none;
          color: #333;
          display: block;
      }
      .employee-thumbnail img {
          width: 100px;
          height: 100px;
          object-fit: cover;
          border-radius: 50%;
          margin-bottom: 10px;
      }
      .employee-thumbnail:hover {
          transform: translateY(-5px);
          box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      }
      .employee-thumbnail.on-leave {
          opacity: 0.6;
          cursor: not-allowed;
      }
      .employee-thumbnail.on-leave img {
          filter: grayscale(100%);
      }
      .employee-status {
          font-size: 0.9em;
          margin-top: 5px;
          font-weight: bold; /* Added for emphasis */
      }
      /* New CSS for status colors */
      .employee-status.on-duty-color {
          color: #28a745; /* Green */
          font-weight: normal;
      }
      .employee-status.on-leave-color {
          color: #fd7e14; /* Orange */
          font-weight: normal;
      }
      .no-employees { color: #666; margin-top: 20px; }
