th {
    border: 1px solid #99d1fb;
    top: 4em;
    position: sticky;
    background: #e3f2fe;
    z-index: 2;
    color: #1f99f6;
    padding: 0.2em 0.5em;
}

tbody tr:first-child td {
    border-top: none;
}

td {
    border: 1px solid #99d1fb;
    padding: 0.2em 0.5em;
    color: #16527f;
    border-right-style: dashed;
    border-left-style: dashed;
}

tr td:first-child {
  border-left-style: solid;
}

tr td:last-child {
  border-right-style: solid;
}

.text-center {
    text-align: center;
}

.margin-bot-1 {
    margin-bottom: 1em;
}

table {
    border-collapse: collapse;
    width: 100%;
}

#minor {
    font-weight: normal;
}

tr:hover {
    background: #e3f2fc;
    transition: background 0.08s ease;
}

.top-menu {
    display: flex;
    align-items: flex-end;
    width: 100%;
    position: relative;
    margin-bottom: 0;
    background: #f7f7f7;
    border-bottom: 1px solid #d4d4d4;
    height: 4em;
    top: 0;
    position: sticky;
    z-index: 2;
}

a img.akua_manager_logo {
    all: unset;
}

.akua_manager_logo {
    margin: 0 0.5em !important;
    box-sizing: border-box !important;
    text-align: left !important;
    max-height: 3em !important;
}

.menu-tabs {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 0;
    height: 100%;
}

.menu-tab {
    display: flex;
    align-items: center;
    padding: 0 1em 0 1em;
    font-size: 1.25rem;
    color: #9b9696;
    text-decoration: none;
    position: relative;
    z-index: 1;
    border: none;
    transition: background 0.2s;
    height: 100%;
}

.menu-tab:hover {
    background: #e3e3e3;
}

.menu-tab:last-child {
  padding-right: 1.5em;
}

.status-ready {
    color: #37c437;
    font-weight: bold;
}
.status-pending {
    background-color: #fff7b2 !important;
    color: #7a6a00;
}
.status-error {
    background-color: #ffb6b6 !important;
    color: #a10000;
    font-weight: bold;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

#innerbody {
    margin:0 8px 8px 8px;
}

.deploymentRow {
    background-color: white;
    color: black;
    position: relative;
    border-top: 15px solid black;
    border-bottom: 15px solid black;
}

.deploymentTable {
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
}

.failedRow {
    background-color: #ffb6b6 !important;
    color: #a10000 !important;
    font-weight: bold;
}

.failedRow td {
    border-top: none;
    border-bottom: 1px solid #a10000;
    border-left: none;
    border-right: 1px dashed rgba(161, 0, 0, 0.5);
}

.successRow td {
    border-top: none;
    border-bottom: 1px solid #006600;
    border-left: none;
    border-right: 1px dashed rgba(0, 102, 0, 0.5);
}

.successRow td:last-child {
    border-right: 1px solid #006600;
}

.successRow td:first-child {
    border-left: 1px solid #006600;
}

.failedRow td:last-child {
    border-right: 1px solid #a10000;
}

.failedRow td:first-child {
    border-left: 1px solid #a10000;
}

.successRow {
    background: #D6F5D6 !important;
    color: #006600 !important;
    font-weight: bold;
}

.deploymentRow::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: white;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.deploymentRow:hover::after {
    opacity: 0.5;
}

.deploymentRow > * {
    position: relative;
    z-index: 1;
}

th.sortHead {
  cursor: pointer;
}

th a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

th a:visited {
    color: inherit;
}

th a:hover {
    text-decoration: none;
    color: inherit;
}

.sortHead {
    cursor: pointer;
}

.footnote {
    margin: 0 0 0.5rem 1.7rem;
    font-size: small;
    color: #333;
}

#advancedOptions {
    display: none;
    margin-left: 1.2em;
}

#fileUpload {
    padding: 0.2rem;
    border: 1px dashed #aaa;
    border-radius: 0.4em;
}

.formButton {
    margin: 0 0 0 1rem;
}

.TextBox {
    border-radius: 0.2em;
}

#PopUpInfo {
    background-color: #f7f7f7;
    padding: 0.4em 1em;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #d4d4d4;
}

#PopUpWarning{
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 0.4em 1em;
    border-radius: 5px;
    margin: 10px 0;
}

#PopUpWarning p {
    margin: 0;
    color: #856404;
}

#PopUpProblem {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 0.4em 1em;
    border-radius: 5px;
    margin: 10px 0;
}

#PopUpProblem p {
    margin: 0 0 10px 0;
    color: #721c24;
}

.tableLink,
.tableLink:visited,
.tableLink:hover,
.tableLink:active,
.tableLink:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.errData {
    font-size: small;
    margin-left: 5em;
    border: 1px solid #a10000;
    padding: 0 1.5em 1.5em 1.5em;
    border-radius: 1.5em;
    background: #ffb6b6;
}

.errMsg {
    margin-left: 5em;
}

/* Login form styling */
.login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.form-group button:hover {
    background-color: #45a049;
}

.error-message {
    padding: 10px;
    margin-bottom: 15px;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Logout button styling */
.logout-tab {
    background-color: #f44336;
    color: white !important;
    margin-left: 10px;
}

.logout-tab:hover {
    background-color: #d32f2f;
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.75s ease-out, opacity 1s ease-out;
    opacity: 0;
}

.section-content.active {
    max-height: 10000px; /* Arbitrary large value to ensure it expands */
    opacity: 1;
}

h2.section-trigger {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
}

h2.section-trigger::after {
    content: "▼";
    font-size: 0.7em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

h2.section-trigger.active::after {
    transform: rotate(180deg);
}

.admin_container{
    border: 1px solid #ccc;
    padding: 0em 1em 1em 1.5em;
    border-radius: 1em;
}

#login-footer {
    margin: auto;
    max-width: 25%;
    text-align: center;
    font-size: 11px;
    padding-top: 5px;
}

#greeting {
    font-size: 11px;
    color: #555;
    margin-top: 0.4em;
    margin-left: 0.7em;
}

h1 {
    margin-top: 0;
    margin-bottom: 0.1em;
}

/* */
#clientes{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    align-items: start;
    padding: 12px;
}

#clientes .cliente{
    background: #fff;
    border: 1px solid #99d1fb;
    border-radius: 12px;
    padding: 0px 12px 14px 12px;

    box-shadow: 1px 1px 3px rgba(153, 209, 251,.6);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;

    overflow-x: hidden;
    background-color: #e3f2fe;
    overflow-y: scroll;

    max-height: 10em;
    min-height: 10em;
}

#clientes .cliente:hover{
    transform: translateY(-2px);
    box-shadow: 0px 0px 0px #fff;
    border-color: rgba(153, 209, 251,.8);
    background-color: #fff;
    cursor: pointer;
}

#clientes .cliente *{
    overflow-wrap: anywhere;
}

.client_name {
    font-weight: bold;
    margin-bottom: 0;
}

.font-small {
    font-size: smaller;
}
.font-gray {
    color: #666;
}

.no-padding-margin {
    padding: 0;
    margin: 0;
}

.padding-botton {
    margin-bottom: 1em;
}