.elementor-4322 .elementor-element.elementor-element-dbddfbd{--display:flex;}.elementor-4322 .elementor-element.elementor-element-6819486{--spacer-size:50px;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-4322 .elementor-element.elementor-element-5ef26e9 .elementor-button{background-color:#003366;}@media(min-width:768px){.elementor-4322 .elementor-element.elementor-element-dbddfbd{--content-width:1009px;}}/* Start custom CSS for shortcode, class: .elementor-element-19e132a *//* ===== Base ===== */
#ot-submission {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #003366;
}
#ot-submission h3 {
  font-size: 22px;
  margin: 18px 0 10px;
  color: #003366;
  border-bottom: 2px solid #00509e;
  padding-bottom: 6px;
}
#ot-response {
  margin: 10px 0;
  font-weight: 500;
}

/* ===== Form ===== */
#ot-request-form {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
#ot-request-form label {
  display: block;
  margin: 8px 0 6px;
  font-weight: 600;
  color: #003366;
}
#ot-request-form input,
#ot-request-form textarea,
#ot-request-form select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccd3de;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}
#ot-request-form textarea { min-height: 90px; resize: vertical; }
#ot-request-form input:focus,
#ot-request-form textarea:focus,
#ot-request-form select:focus {
  border-color: #00509e;
  box-shadow: 0 0 0 3px rgba(0,80,158,0.15);
}
#ot-request-form button[type="submit"] {
  margin-top: 10px;
  background: #00509e;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
#ot-request-form button[type="submit"]:hover { background: #003366; }

/* ===== History Table ===== */
/* Works if you added class="ai-ot-table" */
.ai-ot-table,
/* Fallback: style any table inside #ot-submission */
#ot-submission table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Kill legacy HTML border attribute */
#ot-submission table,
#ot-submission table th,
#ot-submission table td {
  border: none !important;
}

#ot-submission th,
#ot-submission td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  font-size: 14px;
  color: #003366;
}
#ot-submission th {
  background: #00509e;
  color: #fff;
  font-weight: 600;
}
#ot-submission tr:hover { background: #f5f9ff; }

/* Total Hours input field in OT submission form */
#ot-submission input#total_hours {
    background-color: rgba(0, 0, 0, 0.15);  /* slightly dark background */
    color: rgba(0, 0, 0, 0.6);               /* dimmed text */
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    pointer-events: none;                     /* make it read-only visually */
}


/* Cancel link as a button */
#ot-submission a.cancel-ot {
  display: inline-block;
  background: #f0ad4e;
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s;
}
#ot-submission a.cancel-ot:hover { background: #b71c1c; }

/* ===== Pagination (buttons) ===== */
#ot-pagination {
  margin-top: 16px;
  text-align: center;
}
#ot-pagination a,
#ot-pagination span {
  display: inline-block;
  margin: 0 3px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #00509e;
  transition: all .2s;
}
#ot-pagination a {
  background: #fff;
  color: #00509e;
  text-decoration: none;
}
#ot-pagination a:hover {
  background: #00509e;
  color: #fff;
}
#ot-pagination span {
  background: #00509e;
  color: #fff;
  cursor: default;
}


.ot-modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.ot-modal .ot-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 320px;
  text-align: center;
  animation: fadeInScale 0.3s ease;
}

.ot-modal button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 4px;
}

.ot-modal .confirm-btn { background: #d9534f; color: #fff; }
.ot-modal .cancel-btn { background: #6c757d; color: #fff; }

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.ot-modal .confirm-btn {
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
}

.ot-modal .confirm-delete { background-color: #d9534f; } /* Red */
.ot-modal .confirm-cancel { background-color: #f0ad4e; } /* Orange */

.ot-modal .cancel-btn { 
  background: #6c757d; 
  color: #fff; 
  border: none; 
  border-radius: 4px; 
  padding: 6px 12px; 
  cursor: pointer; 
  margin-left: 8px; 
}


.ai-ot-table a.delete-ot {
   display: inline-block;
  background: #c62828;
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s;
}
.ai-ot-table a.delete-ot:hover { background: #b71c1c; }/* End custom CSS */