/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0c0c1f;
    color: #e0e0e0;
    line-height: 1.6;
    padding-bottom: 60px;
}

/* HEADER */

header {
    background: #0c0c1f;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #0099cc;
}

.header-left img {
    height: 50px;
    width: auto;
}

.header-center {
    flex-grow: 1;
    text-align: center;
}

.header-center h1 {
    font-size: 28px;
    margin: 0;
    color: #ffffff;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #66ffff;
}

/* MAIN */

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    background: #121232;
    padding: 20px 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 5px solid #0099cc;
    box-shadow: 0 0 15px rgba(0, 153, 204, 0.2);
}

section h2 {
    margin-bottom: 15px;
    color: #00d2ff;
}

/* TABLES */

section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

section table th,
section table td {
    padding: 12px 15px;
    text-align: left;
}

section table thead {
    background-color: #0099cc;
    color: #0c0c1f;
}

section table tbody tr {
    border-bottom: 1px solid #333;
}

section table tbody tr:nth-child(even) {
    background-color: #1a1a3f;
}

section table tbody tr:hover {
    background-color: #2a2a5f;
}

section table th:nth-child(4),
section table td:nth-child(4),
section table th:nth-child(3),
section table td:nth-child(3) {
    text-align: center;
}

/* LINKS */

section table a {
    color: #00d2ff;
    text-decoration: none;
}

section table a:hover {
    color: #66ffff;
    text-decoration: underline;
}

/* STATUS ICONS */

.status,
.client-status,
.performance-link {
    font-size: 1.2em;
}

/* PERFORMANCE ICON */

.performance-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.performance-link:hover {
    transform: scale(1.2);
}

/* FORMS */

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input {
    padding: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #0c0c1f;
    color: #ffffff;
}

form button {
    margin-top: 20px;
    padding: 10px;
    background: #0099cc;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #66ffff;
    color: #0c0c1f;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 20px;
    background: #0c0c1f;
    color: #888;
    border-top: 2px solid #0099cc;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

footer .footer-link {
    color: #ccc;
    text-decoration: none;
    margin: 0 5px;
}

footer .footer-link:hover {
    text-decoration: underline;
    color: #fff; /* Or your brand’s hover color */
}

/* Subtle styling for the backend link */
footer .footer-link.backend-link {
    opacity: 0.6;
    font-size: 0.9em;
    transition: opacity 0.2s ease-in-out;
}

footer .footer-link.backend-link:hover {
    opacity: 1;
}




.client-status.active {
    color: #00d2ff; /* matches your cyan accent */
}

.client-status.inactive {
    color: #888; /* subtle gray for inactive */
}

.status.processed {
    color: #00d2ff;
}

.status.pending {
    color: #66ffff;
}


/* Splash Section */
#splash {
    text-align: center;
    padding: 60px 20px;
}

.splash-content img {
    height: 100px;
    margin-bottom: 20px;
}

.splash-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #00d2ff;
}

.splash-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.5;
    color: #e0e0e0;
}

.zoom-login-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #0099cc;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.zoom-login-btn:hover {
    background: #66ffff;
    color: #0c0c1f;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0099cc;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #66ffff;
    color: #0c0c1f;
}





#logged-in,
#logged-out {
    margin-top: 30px;
}

.splash-link {
    display: inline-block;
    margin: 0 10px;
    padding: 12px 20px;
    background: #0099cc;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.splash-link:hover {
    background: #66ffff;
    color: #0c0c1f;
}


.account-info {
    margin-bottom: 30px;
}

.account-info p {
    margin: 8px 0;
}

.account-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.logout-link {
    background: #0099cc;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.logout-link:hover {
    background: #66ffff;
    color: #0c0c1f;
}

.delete-account-btn {
    padding: 10px 20px;
    background: #ff4f4f;
    text-decoration: none;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.delete-account-btn:hover {
    background: #ff1f1f;
}

.center-btn {
    text-align: center;
    margin-top: 20px;
}



.header-center a {
    text-decoration: none;
    color: inherit;
}


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* prevent wrapping! */
    gap: 20px; /* optional spacing if needed */
}

.section-header h2 {
    margin: 0; /* remove default margin that might push things around */
}


.pull-zoom-btn {
    background: #0099cc;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pull-zoom-btn:hover {
    background: #66ffff;
    color: #0c0c1f;
}




/* Custom Modal Base */
.custom-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(12, 12, 31, 0.85); /* semi-transparent dark bg */
}

/* Modal Content Box */
.custom-modal-content {
  background-color: #121232;
  margin: 15% auto;
  padding: 30px;
  border: 2px solid #0099cc;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  color: #e0e0e0;
  text-align: center;
}

.custom-modal-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* Modal Buttons */
.custom-modal-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.custom-modal .btn.cancel-btn {
  background: #555;
}

.custom-modal .btn.cancel-btn:hover {
  background: #888;
  color: #0c0c1f;
}



.status-legend {
    margin: 10px 0;
    font-size: 0.9em;
}

.status-legend span.status {
    vertical-align: middle;
}


.status-legend .legend-item {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}

.status.complete {
    color: #00C781;
}

.status.partial {
    color: orange;
}

.status.not-ready {
    color: #FF5C5C;
}

.status-legend .legend-item .status {
    margin-right: 6px; /* adjust to your taste */
    vertical-align: middle;
}


/* Loading Modal Base */
.loading-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9998; /* under confirm modal if needed */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(12, 12, 31, 0.85); /* semi-transparent dark bg */
}

/* Loading Modal Content */
.loading-modal-content {
    background-color: #121232;
    margin: 20% auto;
    padding: 30px;
    border: 2px solid #0099cc;
    border-radius: 8px;
    width: 90%;
    max-width: 300px;
    color: #e0e0e0;
    text-align: center;
    font-size: 1.2em;
}




.btn.revoke-btn {
    background: #ff4f4f; /* same red as delete-account */
}

.btn.revoke-btn:hover {
    background: #ff1f1f; /* darker red on hover */
    color: #ffffff;
}




.faq-container {
    margin-top: 20px;
}

.faq-item {
    border-bottom: 1px solid #333;
    padding: 10px 0;
}

.faq-question {
    background: none;
    color: #00d2ff;
    font-size: 1.1em;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    padding: 10px 0;
    font-weight: bold;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #66ffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding-left: 10px;
    font-size: 0.95em;
    color: #ccc;
}

.faq-answer.open {
    max-height: 500px; /* allow for content growth */
    opacity: 1;
    margin-top: 5px;
}


.support-contact {
    text-align: center;
    font-size: 1.05em;
    margin-bottom: 25px;
    color: #ccc;
}

.support-contact a {
    color: #00d2ff;
    text-decoration: none;
    font-weight: bold;
}

.support-contact a:hover {
    color: #66ffff;
    text-decoration: underline;
}


#doc .doc-section {
    margin-bottom: 30px;
    padding-left: 10px;
}

#doc .doc-section h3 {
    margin-bottom: 10px;
    color: #66ffff;
    font-size: 1.2em;
}

#doc .doc-section p {
    color: #ccc;
    font-size: 1em;
    margin-left: 10px;
    line-height: 1.6;
}


#transcript-modal .custom-modal-content {
    max-width: 80%;
    width: 800px;
    text-align: left;
}

#transcript-text {
    text-align: left;
    font-family: monospace;
    font-size: 14px;
    max-height: 60vh;
    overflow-y: auto;
    background-color: #0a0a23;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    white-space: pre-wrap;
    line-height: 1.4em;
}

/* No data in transcript table */
.table-empty {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 1em;
}

/* center the number of calls column */
#clients-table td:nth-child(2),
#clients-table th:nth-child(2) {
    text-align: center;
}





