html,body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.logo-img {
    width: 170px;
}
.bg-l-blue {
    background-color: #244f67 !important;
}
.top-navbar {
    padding: 4px 0px;
    color: #fff !important;
}
.top-navbar a {
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    margin: 0px 10px;
}
.navbar {
    background-color: #fff;
    padding: 0px;
}
.nav-link {
    padding: 20px 12px !important;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}
.red-text {
    color:red;
}
.blue-text {
    color:blue;
}
.bold-text {
    font-weight:bold;
}

.footer-area {
    background-color: #221c13;
    padding: 40px 0px;
}
.footer-area .heading {
    font-size: 22px;
    color: #fff;
    margin: 18px 0px;
    font-weight: 600;
    text-transform: uppercase;
}
.contact-links {
    list-style: none;
    padding: 0;
}
.contact-links li {
    padding-bottom: 10px;
}
.footer-links i {
    font-size: 14px !important;
}
.contact-links .contact-link {
    color: #b0b0b0;
    text-decoration: none;
    margin-bottom: 6px;
    font-size: 14px;
}
.footer-area p {
    font-size: 14px;
    color: #b0b0b0;
}

.social-media a i {
    color: #c7c8c9;
    font-size: 22px;
    margin-right: 8px;
}



.banner-area {
    background-image: url("../images/banner.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 6px solid #11a8fb;
}
.banner-overlay {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #0000009e;
}
.banner-heading {
    color: #fff;
    font-size: 34px;
}
.banner-link {
    color: #fff;
}
.banner-link a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    margin: 0px 6px;
}
.banner-link a.active {
    color: #ffffffba;
}

.section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.heading {
    font-size: 30px;
    font-weight: 500;
}
.underline {
    width: 60px;
    height: 2px;
    background-color: #11a8fb;
    margin: 10px 0px;
}

.btn3{
    color: #fff;
    background-color: #993133;
    border-color: #993133;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 0.8rem 2rem;
    font-weight: 500;

    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 5px;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn3:hover {
    color: #fff;
    background-color: #7c2829;
    border-color: #722526;
}

.btn-1 {
    background-color: #11a8fb;
    color: #fff !important;
    font-size: 14px;
    border: 1px solid #f8f8f8;
    border-radius: 50px;
    padding: 6px 20px;
}
.btn-1:hover {
    background-color: #000;
}

.box1 {
    color: #fff;
}
.box1 h4 {
    font-size: 20px;
    margin-bottom: 4px;
}
.box1 h4 i {
    font-size: 23px;
}
.box1 p {
    margin-bottom: 0px;
}

.main-heading {
    font-size: 28px;
    color: #0f2b51;
    font-weight: 700;
    font-style: normal;
}
.sub-heading {
    font-size: 22px;
    color: #0f2b51;
    font-weight: 700;
    font-style: normal;
}

.box3 {
    background-color: #f5f5f5;
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%) !important;
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 10px;
}

.box2 {
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: 4px solid #11a8fb;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important; /* jak service-box */
    display: flex;              /* flex dla wyrównania */
    flex-direction: column;
    overflow: hidden;
}
.box2 a {
    text-decoration: none;
}
.box2 img {
    width: 100%;
    height: 260px;
}
.box2 .box2-body {
    text-align: center;
    padding: 14px 6px;
    border-top: 1px solid #ddd;
}
.box2 .box2-body .box2-heading {
    margin-bottom: 0px;
    color: #0f2b51;
    font-weight: 700;
    font-style: normal;
}
.box2:hover .box2-body .box2-heading {
    color: #11a8fb;
}

.select2-container .select2-selection--single {
    height: 50px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 48px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 50px;
}
.qualification-set {
    max-height: 50px;
    overflow: hidden;
}

.custom-form-control {
    /* height: 50px; */
    box-shadow: none !important;
    border: 1px solid #bca4a4;
}
.custom-select {
    width: 24%;
    padding: 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    outline: 0;
}
.service-box {
    background-color: #fff;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
    border-top: 4px solid #11a8fb;
}
.service-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
}
.service-description {
    font-size: 14px;
    margin-bottom: 14px;
}
.service-heading {
    font-size: 18px;
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 0px;
}
.service-box img {
    border-radius: 100px;
    border: 2px solid #b69c9c;
    padding: 10px;
    height: 158px;
}

input[name="timings"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    outline: none;
}

input[name="timings"]:after {
    display: inline-block;
    text-align: center;
    font-size: 12px;
    content: attr(data-icon);
    padding: 5px;
    border-radius: 5px;
    transition: box-shadow 1s, color 1s;
    margin: 10px;
    min-width: 50px;
    color: #393939;
    font-weight: 600;
}

input[name="timings"]:checked:after {
    box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.4);
    color: rgba(0, 0, 0);
}

.available-box{
    background-color: #1e5d80;
    padding: 0px 10px;
    border-radius: 6px;
    margin-right: 6px;
}
.booked-box{
    background-color: #d9e445;
    padding: 0px 10px;
    border-radius: 6px;
    margin-right: 6px;
}

.btn-booked{
    margin: 10px;
    background-color: #d9e445;
    color: #000;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 13px;
    font-weight: 600;
}
.bookSlotBtn{
    background-color: #1e5d80; 
    color: white;
    font-size:large;
    cursor: pointer; 
    padding: 10px 15px;  
    border: none;  
    font-weight: bold;
   
}
.bookSlotBtnExtra{
    background-color: #899eac; 
    color: white;
    font-size:large;
    cursor: pointer; 
    padding: 10px 15px;  
    border: none;  
    font-weight: bold;
    font-style: italic;
}
.btn-available{
    margin: 10px;
    background-color: #1e5d80;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 13px;
    font-weight: 600;
}
.btn-available input[type="radio"]{
    top: 2px;
    position: relative;
}
.btn-extra-available{
    margin: 10px;
    background-color: #899eac; 
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 13px;
    font-weight: 600;
}
.btn-extra-available input[type="radio"]{
    top: 2px;
    position: relative;
}
.btn-low-capacity {
    background: orange !important;
    color: #fff !important;
}
.btn-no-capacity {
    background: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
}
.extra-slot.d-none {
    display: none !important;
}

.user-sidebar{
    list-style: none;
    padding: 0;
}
.user-sidebar li{
    border-bottom: 1px solid #ddd;
    padding: 10px;
}
.user-sidebar a i{
    font-size: 20px;
    color: #11a8fb;
    margin-right: 4px;
}
.user-sidebar a{
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.text-logo{
    color: #11a8fb;
}
.view-service{
    width: 50% !important;
}

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

    .nav-link{
        padding-top: 03px !important;
        padding-bottom: 03px !important;
        color: #000;
    }
    .nav-link-red{
        padding-top: 03px !important;
        padding-bottom: 03px !important;
        color: #7e1f1f;
    }
	.nav-item{
        padding: 4px 0px;
        border-bottom: 1px solid #ddd;
    }
	.navbar .dropdown-menu .dropdown-item{
        padding: 5px 11px !important;
        font-size: 13px !important;
    }
    .banner-heading{
        font-size: 24px;
    }
    .btn3{
        padding: 6px 10px;
        margin-top: 16px;
    }
    .box2 img {
        height: 176px;
    }
    .service-box img{
        border-radius: 0px;
        border: 0px solid #b69c9c;
        padding: 10px;
        height: auto;
        width: 40% !important;
        margin-bottom: 10px;
    }
    .view-service{
        width: 50% !important;
        margin-bottom: 10px;
    }
}

.map-container {
    position: relative;
    display: none; 
    top: 100%;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1000;
    background: #e6e6e6;
    border: 1px solid #ccc;
}

.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
    padding: 5px 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.fullscreen-btn:hover {
    background: #0056b3;
}


.map-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    background: #fff;
}

.mandatory {
    color: red; 
    font-weight: bold; 
}
.sap-table .tableLink {
    text-decoration: none; 
    color: #7e3528; 
}

.sap-table .tableLink:hover {
    text-decoration: none; 
    color: #234161; 
}
.my-table th{
    color:#2b8001;
    vertical-align: top;
    text-align: center;
    font-size: 0.9em;
}
.my-table .my-table-date{
    color:#cc3300;
    font-size: 1.2em;
    font-weight: bold;
}
.my-table .my-table-created{
    color:#434c50;
    font-size: 0.8em;
    font-style: italic;
}
.my-table .my-table-header{
    color:#cc3300;
    font-size: 1.1em;
    font-weight: bold;
}
.my-table .my-table-plain{
    font-size: 0.95em;
}
.my-table td{
    vertical-align: top;
    text-align: center;

}
.clock {
        font-size: 4rem;
        font-weight: bold;
        color: #2c3e50;
        background: white;
        padding: 15px 25px;
        border-radius: 10px;
        display: inline-block;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.time-header {
    display: flex;
    width: 100%;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}
.time-slot {
    flex: 1;
    text-align: center;
    padding: 5px;
    border-right: 1px solid #ddd;
}
.resource-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
}
.resource-title {
    width: 100%;
    font-weight: bold;
    padding-right: 10px;
    text-align: center;
}
.resource-timeline {
    flex: 1;
    display: flex;
    position: relative;
    min-height: 60px;
    background: #f9f9f9;
}
.event {
    position: absolute;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    padding: 5px;
    font-size: 12px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 10px; /* Minimalna szerokość dla wydarzeń krótszych niż 1h */
    
}

/* SAP tables: Verdana 12px, compact padding */
.sap-table table,
.sap-table th,
.sap-table td {
  font-family: Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.2;
}

/* Bootstrap 5 compact cell spacing (if .table is used inside .sap-table) */
.sap-table .table {
  --bs-table-cell-padding-y: .25rem;
  --bs-table-cell-padding-x: .5rem;
}

/* Fallback padding (covers non-BS tables too) */
.sap-table th,
.sap-table td {
  padding: 4px 6px !important;
  vertical-align: middle;
}

/* Compact controls inside table */
.sap-table .btn {
  font-size: 12px;
  padding: 2px 6px;
  line-height: 1.2;
}
.sap-table .form-control,
.sap-table select,
.sap-table input[type="number"],
.sap-table input[type="text"] {
  font-size: 12px;
  padding: 2px 6px;
  height: 28px;
}
.sap-table .badge {
  font-size: 11px;
  line-height: 1.1;
  padding: 3px 6px;
}

/* SAP tables: Verdana 12px, compact padding */
.sap-table table,
.sap-table th,
.sap-table td {
  font-family: Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.2;
}

/* Bootstrap 5 compact cell spacing (if .table is used inside .sap-table) */
.sap-table .table {
  --bs-table-cell-padding-y: .25rem;
  --bs-table-cell-padding-x: .5rem;
}

/* Fallback padding (covers non-BS tables too) */
.lagenda-table th {
  text-align: center;
  background-color: #d7e0f8 !important;
  color: rgb(0, 0, 0) !important;
}
.lagenda-table td {
  padding: 4px 6px !important;
  vertical-align: middle;
  
}

/* Compact controls inside table */
.lagenda-table .btn {
  font-size: 12px;
  padding: 2px 6px;
  line-height: 1.2;
}
.lagenda-table .form-control,
.lagenda-table select,
.lagenda-table input[type="number"],
.lagenda-table input[type="text"] {
  font-size: 12px;
  padding: 2px 6px;
  height: 28px;
}
.lagenda-table .badge {
  font-size: 11px;
  line-height: 1.1;
  padding: 3px 6px;
}

/* Company dropdown styles */
.company-dropdown {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.company-dropdown #companySearch {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.company-dropdown #companySearch:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.company-list {
  scrollbar-width: thin;
  scrollbar-color: #6c757d #f8f9fa;
}

.company-list::-webkit-scrollbar {
  width: 6px;
}

.company-list::-webkit-scrollbar-track {
  background: #f8f9fa;
}

.company-list::-webkit-scrollbar-thumb {
  background: #6c757d;
  border-radius: 3px;
}

.company-list::-webkit-scrollbar-thumb:hover {
  background: #495057;
}

.company-item {
  transition: background-color 0.15s ease-in-out;
}

.company-item:hover {
  background-color: #f8f9fa;
}