/* Make all text larger for better mobile visibility */
body {
    font-size: 18px; /* adjust as needed, e.g., 16px, 20px */
    line-height: 1; /* optional, improves readability */
}

/* Optional: increase input, button, and table font size */
input, button, select, table, th, td {
    font-size: 18px; /* match body font-size or slightly larger */
}

/* General body */
body {
    font-family: Arial, sans-serif;
    background-color: #F7F2FA;
    margin: 20px;
    font-size: 30; /* increase font size for mobile */
}

/* Container for inputs */
#inputContainer {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    max-width: 950px;
    margin: auto;
    margin-top: 30px;
}

/* Make labels bold for Date, From, To, and CASH AT CLOSING */
#inputContainer label {
    font-weight: bold;
    Color:#838082;
    margin-right: 5px; /* optional: small space between label and input */
}

/* Headings */
h2, h4 { color: #838082; margin-bottom: 10px; }
size: 24px; /* main headings */

/* Employee Inputs Grid */
#employeeInputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 100px; }

/* Input fields */
input[type="date"], input[type="time"], input[type="number"] {
    padding: 8px; margin: 5px 10px 5px 0; border-radius: 5px; border:1px solid #ccc;
}

/* Bold From and To labels inside employeeRow */
.employeeRow label {
    font-weight: 700 !important;
    display: inline-block;
    margin-right: 5px;
}

/* ===================== BUTTONS ===================== */
button {
    background-color: #79587e;
    color: white;
    padding: 10px 15px;
    margin: 10px 5px 0 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    font-size: 20px;
}

button:hover {
    background-color: #45a049;
}

#exportBtn {
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
}

#exportBtn:hover {
    background-color: #0056b3;
}

/* Fixed top-right logout button */
#topBar {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1000;
}

#logoutBtn {
    background-color: #dc3545;
    color: #fff;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 20px;
}

#logoutBtn:hover {
    background-color: #b52a37;
}

/* Row containing Save & Export buttons */
#buttonRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    max-width: 900px;
}

#buttonRow button {
    min-width: 140px;
}

/* ===================== TABLE ===================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
}

th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

th {
    background-color: #3F1147;
    color: white;
}

tfoot td {
    font-weight: bold;
    background-color: #2A0C2F; /* footer same as header */
    color: #fcdda6;
}

tbody tr:nth-child(even) {
    background-color: #F8FAFC;
}

/* Mobile general */
@media (max-width: 768px) {
    body {
        margin: 10px;
        font-size: 40px;
    }
    h2 {
        font-size: 22px;
        text-align: center;
    }

    h4 {
        font-size: 18px;
        margin-top: 15px;
    }
}

/* ===== Share Popup Modal (ADDED ONLY) ===== */
.shareModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.shareModalBox {
  background: #fff;
  width: min(420px, 92vw);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  text-align: center;
}

.shareModalTitle {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 12px;
  color: #111;
}

.shareOptionBtn {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.shareCloseBtn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #6c757d;
  color: #fff;
  font-weight: bold;
}

/* ================= HAMBURGER MENU ================= */

#menuContainer {
  position: fixed;
  top: 12px;
  right: 15px;
  z-index: 2000;
}

#hamburger {
  font-size: 26px;
  cursor: pointer;
  user-select: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: #79587e;
  color: white;
}

#menuDropdown {
  display: none;
  margin-top: 6px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  overflow: hidden;
}

#menuDropdown button {
  width: 160px;
  border: none;
  background: white;
  padding: 10px;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
}

#menuDropdown button:hover {
  background: #f2f2f2;
}

/* ===== Hamburger dropdown buttons must be visible ===== */
#menuDropdown button {
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  width: 180px;
  padding: 10px 12px;
  margin: 0 !important;
  text-align: left;
  font-size: 16px;
}

#menuDropdown button:hover {
  background: #f2f2f2 !important;
}

/* ==========================
   APP TITLE HEADER (MINIMAL)
   ========================== */

#appTitleBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.appTitle {
  font-size: 32px;
  font-weight: 700;
  color: #3B2433;
}

.appTitle span {
  font-size: 24px;
  font-weight: 500;
  color: #555;
}
