body.portal-bg{
    background:#0B1020;
    font-family:Arial;
    margin:0;
}

.portal-logo{
    width:100px;
    margin-bottom:10px;
}

.login-box{
    width:300px;
    background:#11182e;
    padding:30px;
    border-radius:12px;
    text-align:center;
    margin:auto;
    margin-top:15vh;
    color:white;
    box-shadow:0 0 30px rgba(0,255,255,0.3);
}

input,button{
    width:100%;
    padding:10px;
    margin:8px 0;
    border:none;
    border-radius:6px;
}
button{
    background:#00f2ff;
    font-weight:700;
    cursor:pointer;
}
button:hover{
    background:white;
}

.sidebar{
    width:260px;
    background:#0f1837;
    height:100vh;
    position:fixed;
    padding:20px;
    color:white;
    border-right:2px solid rgba(0,255,255,0.3);
}

.sidebar-logo{
    width:120px;
    display:block;
    margin:auto;
    margin-bottom:20px;
}

.menu-btn{
    display:block;
    background:rgba(0,255,255,0.08);
    color:#00f2ff;
    padding:12px;
    border-radius:8px;
    margin:10px 0;
    text-decoration:none;
    font-weight:bold;
}
.menu-btn:hover{
    background:rgba(0,255,255,0.3);
}

.main-panel{
    margin-left:300px;
    padding:20px;
    color:white;
}

.logout{
    color:#ff4e4e;
}


/* --- Glow-Glass Cards & Layout --- */
.card-glass{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(0,242,255,0.25);
  box-shadow: 0 0 20px rgba(0,242,255,0.15);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
  color:#e8f9ff;
}
.card-glass.small{ padding:12px 14px; }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
@media (max-width:900px){ .grid-2{ grid-template-columns: 1fr; } }

.btn-primary{
  display:inline-block;
  padding:10px 14px;
  background:#00f2ff;
  color:#001018;
  text-decoration:none;
  border-radius:8px;
  font-weight:800;
}
.btn-primary:hover{ background:#fff; }

.disabled{ opacity:.5; pointer-events:none; }

/* --- Form styles --- */
.form-grid textarea{
  width:100%; min-height:120px; padding:10px; border-radius:8px; border:1px solid rgba(0,242,255,0.25);
  background:rgba(255,255,255,0.05); color:#fff;
}
.form-grid label{ display:block; margin:10px 0; }
.form-grid input[type="number"],
.form-grid input[type="file"]{
  width:100%; padding:10px; border-radius:8px; border:1px solid rgba(0,242,255,0.25);
  background:rgba(255,255,255,0.05); color:#fff;
}
.row-3{ display:grid; grid-template-columns: repeat(3,1fr); gap:10px; }
@media (max-width:900px){ .row-3{ grid-template-columns: 1fr; } }

.note{ background:rgba(0,242,255,0.08); padding:8px 10px; border-left:3px solid #00f2ff; border-radius:6px; }



/* === RESTORE WORK LOG TABLE LAYOUT === */
.table {
  width: 100%;
  margin-top: 20px;
  color: #e8f9ff;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tr {
  display: grid;
  grid-template-columns: 160px 160px 80px 80px 80px 100px 120px 140px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 242, 255, 0.15);
  align-items: center;
}

.tr.th {
  font-weight: 700;
  color: #9feafe;
  border-bottom: 1px solid rgba(0, 242, 255, 0.3);
  background: rgba(0, 242, 255, 0.05);
}

.tr:hover {
  background: rgba(255,255,255,0.03);
}

.tr .tasks {
  grid-column: 1 / -1;
  font-style: italic;
  color: #cceaff;
  padding: 5px 0 0 10px;
  border-left: 3px solid rgba(0,242,255,0.3);
}

.btn-mini {
  display: inline-block;
  padding: 6px 10px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
  text-align: center;
}

.btn-mini.approve {
  background: rgba(124, 252, 124, 0.15);
  color: #9eff9e;
}

.btn-mini.reject {
  background: rgba(255, 122, 122, 0.15);
  color: #ffb3b3;
}

.btn-mini:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(0,242,255,0.3);
}

.status.approved { color: #7CFC7C; }
.status.pending { color: #ffd27a; }
.status.rejected { color: #ff7a7a; }


/* === DIAGNOSTIC TABLE GRID === */
.tr {
  display: grid !important;
  grid-template-columns: 150px 150px 100px 100px 100px 100px 100px 150px !important;
  align-items: center;
  gap: 8px;
  text-align: center;
  border-bottom: 1px dashed rgba(0,242,255,0.2);
  padding: 10px 0;
  font-size: 0.95rem;
}
.tr.th {
  font-weight: 700;
  color: #9feafe;
  background: rgba(0, 242, 255, 0.05);
}


/* === PC DIGITAL MEDIA — RESTORED TABLE LAYOUT === */
.table {
  width: 100%;
  border-collapse: collapse;
  color: #e8f9ff;
  margin-top: 20px;
  font-size: 0.95rem;
}

/* Base row layout */
.tr {
  display: grid;
  grid-template-columns:
    160px  /* Date */
    1fr    /* Employee / Tasks */
    80px   /* Leads */
    80px   /* Calls */
    80px   /* Hours */
    110px  /* Status */
    100px  /* Proof */
    130px; /* Action */
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px dashed rgba(0, 242, 255, 0.15);
  transition: background 0.25s ease;
}

.tr.th {
  font-weight: 700;
  color: #9feafe;
  background: rgba(0, 242, 255, 0.05);
  border-bottom: 1px solid rgba(0, 242, 255, 0.3);
}

.tr:hover {
  background: rgba(0, 242, 255, 0.04);
}

/* Task description under each record */
.tr.tasks {
  display: block !important;
  text-align: left;
  font-style: italic;
  color: #bdeeff;
  margin-top: -6px;
  padding: 5px 14px 8px;
  border-left: 3px solid rgba(0,242,255,0.3);
  background: rgba(255,255,255,0.02);
}

/* Buttons */
.btn-mini {
  display: inline-block;
  padding: 6px 10px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0,242,255,0.25);
  background: rgba(0,242,255,0.05);
  color: #00f2ff;
}

.btn-mini:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,242,255,.4);
}

/* Approve / Reject colors */
.btn-mini.approve {
  background: rgba(124,252,124,0.15);
  color: #baffba;
  border-color: rgba(124,252,124,0.25);
}
.btn-mini.reject {
  background: rgba(255,122,122,0.15);
  color: #ffaaaa;
  border-color: rgba(255,122,122,0.25);
}

/* Status glowing pulse */
.status.approved {
  color:#7CFC7C;
  text-shadow:0 0 6px rgba(124,252,124,.7);
}
.status.pending {
  color:#ffd27a;
  text-shadow:0 0 6px rgba(255,210,122,.7);
}
.status.rejected {
  color:#ff7a7a;
  text-shadow:0 0 6px rgba(255,122,122,.7);
}

/* Responsive grid for smaller screens */
@media (max-width: 900px) {
  .tr {
    grid-template-columns: 120px 1fr 70px 70px 70px 90px 80px 100px;
    font-size: 0.85rem;
  }
}


/* === GLOSSY DOWNLOAD (STRONG) === */
a.btn-download, button.btn-download {
  display: inline-block;
  padding: 12px 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all .35s ease;
  /* force override */
  background: linear-gradient(145deg, #00f2ff, #0078ff) !important;
  color: #001018 !important;
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.3) !important;
}

/* glossy streak */
a.btn-download::after, button.btn-download::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,.45), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: all .75s ease;
}

/* hover glow + streak sweep */
a.btn-download:hover, button.btn-download:hover {
  transform: scale(1.06);
  color: #fff !important;
  background: linear-gradient(145deg, #00f2ff, #3dd9eb) !important;
  box-shadow: 0 0 25px rgba(0, 242, 255, 0.6) !important;
}

a.btn-download:hover::after, button.btn-download:hover::after {
  left: 125%;
}



/* ===== MOBILE MENU FIX ===== */
.hamburger {
  display: none;
  position: fixed;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, #00f2ff, #ff1ead);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 6px 14px;
  box-shadow: 0 0 18px rgba(0,242,255,0.5);
  z-index: 999999;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hamburger:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(255,30,173,0.7);
}

/* Hide sidebar on phones */
@media (max-width: 900px) {
  .sidebar {
    display: none !important;
  }
  .hamburger { display: block; }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #0f1837;
    padding: 80px 25px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-shadow: -8px 0 25px rgba(0,242,255,0.2);
    transition: right 0.4s ease-in-out;
    z-index: 999998;
  }

  .mobile-menu a {
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 6px;
  }

  .mobile-menu a.logout {
    color: #ff4d4d;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    z-index: 999997;
  }
}

