@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Calibri', sans-serif;
}
a{
    text-decoration: none;
}
.modern {
    text-align: -webkit-center;
    padding: 0 10px;
    background: #9cd6f0;
}
.logo{
    position: absolute;
    top: 7px;
    left: 7px;
    height: 50px;
}
.logo-container {
    text-align: center; /* Center the contents horizontally */
    padding-bottom: 15px;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

form .form-group {
    margin-bottom: 15px;
    position: relative;
}
form .password i {
    position: absolute;
    right: 0px;
    height: 45px;
    top: 28px;
    font-size: 13px;
    line-height: 45px;
    width: 45px;
    cursor: pointer;
    color: #939393;
    text-align: center;
}
#map {
    width: 100%;
    height: 100vh;
}
form label {
    text-align: left !important;
    display: block;
    font-size: 15px;
    margin-bottom: 7px;
}
.green{
    background-color: rgba(165, 222, 0, 0.5);
}
.op-panel {
    position: absolute;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px;
    gap: 8px;
    z-index: 5;
}
.swal2-select {
    margin-bottom: 0px !important;
}
.op-panel--top {
    top: 60px;
    border-top: none;
    border-bottom: 1px solid #ccc;
}
.gm-style-cc,.gmnoprint {
    display: none;
}

#operationsPanel{
    position: fixed;      /* zamiast absolute */
    bottom: 0;            /* przyklejony do dołu okna */
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px;
    gap: 8px;
    z-index: 9999;
}

.op-panel__button {
    flex: 1;
    padding: 8px;
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}
.op-panel__button--replaced{
    color:black;
}
.op-panel__button--placed { background: #ffb300; }
.op-panel__button--taken { background: #f61919; }
.op-panel__button--replaced { background: #CFFF04; }
.op-panel__button--list {
    flex: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.op-panel__icon { width: 22px; height: 22px; }

@media (max-width: 500px) {
    table {
        min-width: 350px !important;
        font-size: 12px !important;
    }
}
table {
    min-width: 400px;
    text-align: center;
    background: white;
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    box-sizing: border-box;
}

table, th, td {
    border: 1px solid #ccc;
    padding: 7px;
}

th {
    background: aliceblue;
    font-weight: bold;
}

form {
    min-width: 300px;
    padding: 25px;
    background: #fff;
    width: 100%;
    border-radius: 7px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}
.login{
    margin-top: 100px;
    max-width: 600px !important;
}
.login input{
    height: 45px;
    padding: 10px;
}

form input,
form select{
    padding: 5px;
    width: 100%;
    font-size: 15px;
    outline: none;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #bfbfbf;
}
table input {
    cursor: pointer;
    white-space: pre-wrap;
    border: none;
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    font-size: 12px;
    background-color: transparent;
    text-align: center;
    /*font-family: 'Calibri', sans-serif;*/
}
.form-title{
    font-size: 20px;
    display: inline-block
}
.form-head{
    margin-top: 20px;
    min-width: 400px;
    max-width: 1000px;
    padding: 10px;
}
.box-form{
    min-width: 400px;
    max-width: 1000px;
    margin-top: 20px;
    padding: 14px;
}
.logo-head{
    margin-bottom: 60px;
}
.pagination-n{
    width: fit-content;
    background: none !important;
    box-shadow: none !important;
    justify-content: space-between;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.page {
    width: 35px;
    background: rgb(0, 148, 217);
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 5px 5px;
    /* margin: 10px 5px; */
    margin-top: 15px;
    margin-bottom: 5px !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.page:hover {
    background: rgb(0, 130, 200);
    transform: scale(1.05); /* Лёгкое увеличение */
}

.page.active {
    background: gray;
    cursor: default;
    pointer-events: none; /* Отключает клики */
    box-shadow: none; /* Убираем тень для активной кнопки */
}
.search-form {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;

    min-width: 400px;
    max-width: 1000px;
    font-size: 16px;

    margin: auto;
}
.search-form select {
    margin-right: 10px;
    margin-left: 10px;
}
.search-form .swal2-input {
    font-size: 16px !important;
    height: 2em!important;
}
.swal2-checkbox, .swal2-file, .swal2-input, .swal2-radio, .swal2-select, .swal2-textarea {
    margin: 0em auto!important;
}
@media (min-width: 1000px) {
    .point-form{
        max-width: 1000px!important;
    }
}
.point-form {
    margin-top: 30px;
    padding: 14px !important;
}
th {
    background-color: #f2f2f2;
}
.l-carpet-table {
    margin-bottom: 25px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}
.box-table{
    margin-top: 20px;
    max-width: 1000px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}
.quadrat {
    padding: 30px;
    border-radius: 7px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    width: 31%;
    background-color: #ffffff;
    text-align: center;
    cursor: pointer;
    margin: 1%;
}
.menu{
    margin-bottom: 20px;
    justify-content: center;
}
@media (max-width: 768px) {
    .quadrat {
        padding: 15px!important;
        width: 100%;
        margin-right: 0!important;
        margin-left: 0!important;
        margin-bottom: 5px;
    }
}
#exit-btn {
    position: absolute;
    top: 14px;
    right: 10px;
    padding: 8px 16px;
    background-color: #8f8d8d; /* czerwony */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#exit-btn:hover {
    background-color: #ff7961; /* jaśniejszy czerwony */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.action-button {
    width: fit-content;
    background: rgb(0, 148, 217);
    color: white;
    border: 0 none;
    border-radius: 8px;
    cursor: pointer;
    padding: 5px 10px;
    font-weight: 500;
    font-size: 16px;
}
.action-button:hover, .action-button:focus {
    background: rgb(0, 176, 263);
}

.wrap {
    z-index: 100000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    justify-content: center; /* Horizontally center the content */
    align-items: center; /* Vertically center the content */
    text-align: center;
}

.loader span{
    width:16px;
    height:16px;
    border-radius:50%;
    display:inline-block;
    position:absolute;
    left:50%;
    margin-left:-10px;
    -webkit-animation:3s infinite linear;
    -moz-animation:3s infinite linear;
    -o-animation:3s infinite linear;
}

.loader span:nth-child(2){
    background:#E84C3D;
    -webkit-animation:kiri 1.2s infinite linear;
    -moz-animation:kiri 1.2s infinite linear;
    -o-animation:kiri 1.2s infinite linear;

}
.loader span:nth-child(3){
    background:#F1C40F;
    z-index:100;
}
.loader span:nth-child(4){
    background:#2FCC71;
    -webkit-animation:kanan 1.2s infinite linear;
    -moz-animation:kanan 1.2s infinite linear;
    -o-animation:kanan 1.2s infinite linear;
}

@-webkit-keyframes kanan {
    0% {-webkit-transform:translateX(20px);
    }

    50%{-webkit-transform:translateX(-20px);
    }

    100%{-webkit-transform:translateX(20px);
        z-index:200;
    }
}

@-moz-keyframes kanan {
    0% {-moz-transform:translateX(20px);
    }

    50%{-moz-transform:translateX(-20px);
    }

    100%{-moz-transform:translateX(20px);
        z-index:200;
    }
}

@-o-keyframes kanan {
    0% {-o-transform:translateX(20px);
    }

    50%{-o-transform:translateX(-20px);
    }

    100%{-o-transform:translateX(20px);
        z-index:200;
    }
}

@-webkit-keyframes kiri {
    0% {-webkit-transform:translateX(-20px);
        z-index:200;
    }
    50%{-webkit-transform:translateX(20px);
    }
    100%{-webkit-transform:translateX(-20px);
    }
}

@-moz-keyframes kiri {
    0% {-moz-transform:translateX(-20px);
        z-index:200;
    }
    50%{-moz-transform:translateX(20px);
    }
    100%{-moz-transform:translateX(-20px);
    }
}

@-o-keyframes kiri {
    0% {-o-transform:translateX(-20px);
        z-index:200;
    }
    50%{-o-transform:translateX(20px);
    }
    100%{-o-transform:translateX(-20px);
    }
}

@media (max-width: 500px) {
    table {
        font-size: 16px!important;
    }

    table, th, td {
        padding: 5px!important;
    }
    .box-table {
        max-width: 500px;
    }
}