/* LOGIN */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;    
  font-family: 'Karla', sans-serif;
  background-color: #f2f3f8; 
  background: -webkit-linear-gradient(left, #6ec7a6, #41b3d9);
  background: -moz-linear-gradient(left, #6ec7a6, #41b3d9);
  background: linear-gradient(to right, #6ec7a6, #41b3d9);
    /* background: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url('/images/bg1.jpg') no-repeat center center; */
  background-size: cover; 
  height: 100vh; 
  overflow: hidden; 
  padding-top: 80px; 
}

.header {
  display: flex;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  align-items: center;
  padding: 5px 10px;
  background-color: whitesmoke; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header .logo img {
  height: 50px;
  margin-right: 20px;
  margin-left: 20px;
}

.header .logo .epic-img {
  height: 55px; /* make Epic logo taller */
  margin-left: 0; /* optional: tighten spacing if needed */
}


.header-title {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #3C91E6;
  font-weight: 500;
  vertical-align: middle;
}

.clickable-text {
  cursor: pointer;
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-top: 5px;
}

.clickable-item:hover {
  color: #3C91E6;  
}

.clickable-item i {
  font-size: 14px;
  margin-top: -3px;
}

.items {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  gap: 20px;
  color: #7b7f89;
  margin-left: auto;
}

.register button {
  color: #7b7f89;
  border-radius: 5px;
  border: 1px solid #7b7f89;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
}

.register button:hover {
  border: 1px solid #3C91E6;
  background-color: #3C91E6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-container {
  text-align: center;
  margin-top: -50px;
}

.login-container h1 {
  color: #fff;      
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.login-form {
  background-color: whitesmoke;
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 600px;
  margin: 20px auto 0 auto;
}

.input-container {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  flex: 1;
}

.input-container i {
  font-size: 20px;
  margin-right: 6px;
  color: gray;
}

input {
  border: none;
  outline: none;
  font-size: 16px;
  width: 450px;
  background-color: whitesmoke;
}

.login-button {
  background-color: #3C91E6;
  color: white;
  margin-right: 3px;
  margin-left: 0px;
  border: none;
  padding: 10px 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: bold;
  border-radius: 0 50px 50px 0;
}

.login-button i {
  margin-right: 6px;
}

.forgot-link {
  color: white;
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  display: block;
  cursor: pointer;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header-register .register {
    display: none;
}

.header-login .header-title {
    display: none;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: whitesmoke;
  color: gray;
  font-size: 8px;
  text-align: center;
  padding: 5px; 
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-alert {
  position: absolute;
  background-color: #dc3545; 
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  top: -45px; 
  left: 0;
  z-index: 1055;
  white-space: nowrap;
}

.custom-alert::after {
  content: '';
  position: absolute;
  bottom: -10px; 
  left: 20px; 
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #dc3545 transparent transparent transparent;
  z-index: 1055;
}

table.table th {
    width: 30%;
    vertical-align: middle;
}
table.table td {
    width: 70%;
}
.bg-light {
    background-color: #337dc3;
    font-weight: bold;
}

/* ========== MODAL STYLING ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0 */
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay */
.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

/* Content Box */
.modal-content {
  position: relative;
  background: #ffffff;
  color: #333;
  padding: 25px 30px;
  border-radius: 12px;
  width: auto;           
  max-width: 600px;         
  min-width: 300px;        
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.35s ease-out;
  z-index: 1000;
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0 auto;          
  margin-top: 200px;
}


/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.modal-content h2 {
  text-align: center;
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 18px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Table Styling */
.modal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.modal-content th,
.modal-content td {
  padding: 10px 8px;
  text-align: left;
  font-size: 15px;
  line-height: 1.4;
}

.modal-content th {
  color: #444;
  font-weight: 600;
  white-space: nowrap;
}

.modal-content td {
  color: #666;
}

/* Icons in table headers */
.modal-content th i {
  margin-right: 6px;
  color: #0077cc;
  font-size: 16px;
  vertical-align: middle;
}

/* Inputs & Selects */
.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px 12px;
  margin: 8px 0 14px;
  font-size: 14px;
  color: #333;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-content input:focus,
.modal-content select:focus {
  border-color: #0077cc;
  box-shadow: 0 0 0 2px rgba(0, 119, 204, 0.15);
  outline: none;
}

/* Buttons */
.modal-content button {
  width: 100%;
  padding: 12px;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.modal-content button:hover {
  background-color: #005fa3;
  transform: translateY(-1px);
}

/* Close Button */
.bx-x {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 26px;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bx-x:hover {
  color: #e63946;
  transform: rotate(90deg);
}


