/* Show custom internet provider input */


/* panel.css | https://api.sbz.gr/css/panel.css */
.form-group-half {
    /* margin: 5px 5px; */
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    margin-top: 0px;
    float: left;
    width: 48%;
}

.login-logo img {
    /* margin-bottom: 30px; */
    margin-bottom: 20px;
    max-width: 120px;
}

/* bootstrap.min.css | https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css */
label {
    margin-bottom: 5px;
}

#internet_provider_custom {
    display: none;
}

#internet_provider_custom.show-custom-provider {
    display: block;
}

/* Style for register-success check icon */
.register-success-check {
    color: #0ebb12;
}

/* Define CSS variables for repeated values */
:root {
    --main-radius-tl: 15px;
    --main-radius-tr: 5px;
    --main-radius-bl: 5px;
    --main-radius-br: 15px;
    --main-shadow: 0 3px 3px 0 rgb(0 0 0/ 20%);
    --main-blue: #274dc8;
    --main-bg: #fff;
}

body {
    background-image: url("/images/sbz-api-back.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #000;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    text-align: left;
}

.table td,
.table th {
    vertical-align: middle;
    border-top: 1px solid #b9b9b9;
    border-right: 1px solid #b9b9b9;
}

.h1,
h1,
.h2,
h2 {
    color: var(--main-blue);
    font-weight: 600;
}

.h1,
h1 {
    font-size: 28px;
}

.h2,
h2 {
    font-size: 22px;
}

a {
    color: var(--main-blue);
}

em {
    font-style: normal;
}

.dropdown-menu,
.form-control,
.successtext,
.btn,
.sticky-doclist-navbar-form input {
    border-bottom-left-radius: var(--main-radius-bl);
    border-bottom-right-radius: var(--main-radius-br);
    border-top-right-radius: var(--main-radius-tr);
    border-top-left-radius: var(--main-radius-tl);
    box-shadow: var(--main-shadow);
}

.dropdown-menu {
    margin-top: 7px;
}

.wrapper {
    padding: 20px;
    max-width: 360px;
}


.wrapper-center-login,
.wrapper-center-settings {
    background: var(--main-bg);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 45px;
    border-top-right-radius: 10px;
    border-top-left-radius: 45px;
    box-shadow: var(--main-shadow);
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    max-width: 460px;
    margin-top: 100px;
}


.wrapper-center {
    background: var(--main-bg);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 45px;
    border-top-right-radius: 10px;
    border-top-left-radius: 45px;
    box-shadow: var(--main-shadow);
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    max-width: 460px;
    margin-top: 10px;
}


.wrapper-center {
    max-width: 660px;
}

.wrapper-center-settings {
    max-width: 800px;
}

/* Vertically center login/register cards without changing their size */
html,
body {
    height: 100%;
}

.wrapper-lang-selector {
    height: 40px;
    margin: 0 auto 20px auto;
    max-width: 300px;
}

.copyright-wrapper {
    font-size: 12px;
    margin: 0 auto;
    padding: 20px;
    max-width: 460px;
    text-align: center;
}

.container {
    max-width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.dropdown {
    float: left;
    margin-right: 5px;
}

.dropdown-item {
    font-size: 14px;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #ced4da;
}

.sticky-top {
    background: #f5f7ff;
    box-shadow: 0px 0px 3px #ccc;
    min-height: 70px;
    width: 100%;
}

.sticky-top-inner {
    padding: 20px;
}

.sticky-top-navbar {
    color: var(--main-blue);
}

.logo {
    float: left;
    margin-right: 7px;
}

.logo img {
    margin-top: -10px;
    max-width: 110px;
}

.sticky-top-welcome {
    float: left;
    margin-right: 20px;
    margin-top: 9px;
}

.sticky-top-username,
.sticky-top-inactive {
    float: left;
    line-height: 30px;
    margin-top: 10px;
}

.sticky-top-inactive {
    color: red;
    margin-left: 10px;
}

.sticky-top-buttons {
    float: right;
}

.sticky-doclist-navbar {
    background: var(--main-blue);
    box-shadow: 0px 0px 3px #ccc;
    color: #fff;
    padding: 20px;
    position: fixed;
    width: 100%;
    height: 70px;
    font-weight: lighter;
    z-index: 1000;
}

.sticky-doclist-navbar-form {
    float: left;
}

.sticky-doclist-navbar-buttons {
    float: right;
}

.table {
    background: #fff3ff6b;
    border: 1px solid #b9b9b9;
    box-shadow: var(--main-shadow);
}

.table .thead-dark th {
    background: #e3e3e3;
    border: 1px solid #b9b9b9;
    color: var(--main-blue);
}

.btn-primary,
.btn-primary:hover {
    background-color: #274dc8;
    border-color: #274dc8;
}

.btn-primary:hover {
    background-color: #4e73eb;
    border-color: #4e73eb;
}

.btn-language,
.btn-language:hover {
    background-color: #fff;
    border-color: #e5ecf3;
}

.btn-action,
.btn-action:hover {
    color: #fff;
}

.btn-action {
    background-color: #ff6600;
    border-color: #ff6600;
}

.btn-action:hover {
    background-color: #f2863e;
    border-color: #f2863e;
}

.btn-secondary,
.btn-secondary:hover {
    color: #fff;
}

.btn-secondary {
    background-color: #979797;
    border-color: #979797;
}

.btn-secondary:hover {
    background-color: #6a6969;
    border-color: #6a6969;
}

.btn-third {
    background-color: #fff;
    border-color: #ced4da;
    color: #495057;
}

.btn-third:hover {
    background-color: #ced4da;
    border-color: #ced4da;
    color: #495057;
}

.btn {
    padding: 5px 15px;
    /* border-radius and box-shadow handled above */
}

.btn:hover {
    box-shadow: var(--main-shadow);
}

.btn-action i,
.btn-primary i,
.btn-secondary i,
.btn-third i,
.dropdown-item i {
    margin-right: 7px;
}

.dropdown img,
.dropdown-menu img {
    border: 1px solid #b9b9b9;
    border-radius: 5px;
    margin-right: 7px;
}

.sticky-doclist-navbar-form input {
    background: #fff;
    border: 1px solid #1435a1;
    color: var(--main-blue);
    padding: 5px 15px;
    /* border-radius and box-shadow handled above */
}

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

.rightcolumn {
    text-align: right;
}

.leftcolumn {
    text-align: left;
}

.centercolumn,
.centercolumn-var {
    text-align: center;
}

.g-recaptcha {
    margin-bottom: 20px;
    margin-top: 20px;
}

.g-recaptcha>div {
    margin-top: 1em;
    text-align: center;
    width: auto !important;
    height: auto !important;
}

.required {
    color: red;
}

.recaptcha-feedback {
    color: #dc3545;
    font-size: 80%;
    margin-top: .25rem;
}

input[type=checkbox] {
    margin-right: 7px !important;
}

.agreement {
    font-size: 90%;
}

.successtext {
    border: 1px solid #0ebb12;
    color: #0ebb12;
    margin-top: 20px;
    padding: 5px;
    /* border-radius and box-shadow handled above */
}

.successtext i {
    margin-left: 7px;
}

.lang-img {
    height: 18px;
}

.form-control-pass {
    display: none;
}

.input_units,
.input_b2g_units,
.input_b2g_username,
.input_b2g_password,
.input_phone,
.input_email,
.input_role {
    font-size: small;
    border: thin;
    margin-left: 4px;
}

.input_units,
.input_b2g_username,
.input_b2g_password,
.input_phone {
    margin-bottom: 4px;
}

.input_units,
.input_b2g_units,
.input_b2g_username,
.input_b2g_password,
.input_phone {
    text-align: right;
}

.input_units,
.input_b2g_units {
    width: 80px;
}

.input_b2g_password {
    width: 120px;
}

.input_phone {
    width: 100px;
}

.input_role {
    height: 22px;
}

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

.icon-related-docs {
    color: #f8f3fb;
    background-color: var(--main-blue);
    padding: 2px;
    border-radius: 2px;
}

.pages-label {
    vertical-align: middle;
    margin-top: 5px;
    margin-left: 10px;
    font-size: inherit;
}

.form-group {
    /* margin-bottom: 1rem; */
    margin-bottom: 10px;
}

.btn.btn-language.btn-sm {
    /* margin: auto; */
    /* margin-top: -2px; */
    margin-top: -4px;
    height: 34px;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    background-color: #274dc8;
    color: white;
    border: none;
    outline: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #0056b3;
}


.page-item.active .page-link {
    /* background-color: #007bff; */
    /* border-color: #007bff; */
    background-color: #3457c8;
    border-color: #274dc8;
}

.page-link:hover {
    /* color: #0056b3; */
    color: #274dc8;
}

/* bootstrap.min.css | https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css */
.page-link {
    /* color: #007bff; */
    color: #274dc8;
}


@media only screen and (max-width: 1024px) {

    .wrapper-center,
    .wrapper-center-login,
    .wrapper-center-settings {
        padding: 10px;
        max-width: 98%;
    }

    .form-group-half {
        width: 47%;
    }

    .selected-stats {
        display: none;
    }

    .sticky-top {
        min-height: 50px;
        padding: 10px 5px;
        box-shadow: 0 1px 2px #bbb;
        position: static;
        width: 100%;
        background: #f5f7ff;
        z-index: 100;
    }

    .sticky-top-inner {
        padding: 5px 5px 0 5px;
        margin: 0;
    }

    .logo img {
        max-width: 94px;
        margin-top: 1px;
    }

    .sticky-top-welcome,
    .sticky-top-username,
    .sticky-top-inactive,
    .sticky-top-buttons {
        float: none;
        display: block;
        text-align: left;
        margin: 0 0 5px 0;
        line-height: 1.2;
        font-size: 11px;
    }

    .sticky-top-buttons {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 8px;
        float: none;
        justify-content: center;
        align-items: center;
        margin: 0 0 5px 0;
    }

    .sticky-top-buttons .btn {
        flex: 1 1 auto;
        width: 100%;
        margin-bottom: 0;
        text-align: center;
        min-width: 0;
        box-sizing: border-box;
    }

    .sticky-doclist-navbar {
        position: static;
        height: auto;
        padding: 10px 5px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        /* gap: 10px; */
        box-sizing: border-box;
        width: 100%;
        font-size: 14px;
    }

    /* Hide all navbar children except the form and terminals transactions button */
    .sticky-doclist-navbar>*:not(.sticky-doclist-navbar-form):not(a.btn-secondary) {
        display: none !important;
    }

    /* Hide all form elements except search, date, and submit */
    .sticky-doclist-navbar-form input:not([name="from_to_date"]):not([name="search"]),
    .sticky-doclist-navbar-form select,
    .sticky-doclist-navbar-form input[type="hidden"] {
        display: none !important;
    }

    .sticky-doclist-navbar-form {
        width: 100%;
        margin-bottom: 0;
        float: none;
    }

    .sticky-doclist-navbar-form form {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .sticky-doclist-navbar-form input[name="from_to_date"],
    .sticky-doclist-navbar-form input[name="search"] {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        box-sizing: border-box;
        flex: 1 1 auto;
        min-width: 0;
    }

    .sticky-doclist-navbar-form button[type="submit"] {
        display: block !important;
        width: auto !important;
        margin-bottom: 0 !important;
        flex: 0 0 auto;
    }

    /* Always show the terminals transactions button */
    .sticky-doclist-navbar>a.btn-secondary {
        display: inline-block !important;
        /* margin-top: 8px; */
        /* width: 100%; */
        text-align: center;
    }

    .container {
        /* margin-top: 100px; */
        /* padding-left: 20px; */
        /* padding-right: 20px; */
        margin-top: 10px;
        font-size: smaller;
        /* padding-left: 20px; */
        /* padding-right: 20px; */
    }

    /* bootstrap.min.css | https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css */
    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        /* padding-right: 15px; */
        /* padding-left: 15px; */
        padding-right: 5px;
        padding-left: 5px;
    }

    h2,
    .h2 {
        /* font-size: 16px !important; */
        font-size: 17px !important;
    }

    .btn.btn-language.btn-sm {
        /* margin: auto; */
        /* margin-top: -2px; */
        display: block !important;
        margin-top: -4px;
        height: 34px;
        width: 100px;
    }

    /* removed empty .dropdown ruleset */

    /* panel.css | https://api.sbz.gr/css/panel.css */
    .sticky-top-welcome,
    .sticky-top-username,
    .sticky-top-inactive,
    .sticky-top-buttons {
        /* display: block; */
    }

    .logo img {
        /* max-width: 80px; */
        /* margin-top: -5px; */
        max-width: 94px;
        margin-top: 1px;
    }

    .btn.btn-action.btn-sm {
        height: 34px;
        margin-top: -2px;
    }
}

/* bootstrap.min.css | https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css */
/* Inline | https://api.sbz.gr/sign/docs_list.php?issuer_vat=800745141&search=&from_to_date=02%2F06%2F2025+-+02%2F06%2F2025&issuer_vat_by_admin=800745141&transaction_type=&branch_number= */
.btn.btn-action.btn-sm {
    height: 34px;
    margin-top: -2px;
}

/* Remove the duplicate or conflicting rule outside media queries if present */