*{
    padding:0;
    margin: 0;
    box-sizing: border-box;
}
.custom-bg {
    background-color: #280f4d !important;
}

.custom-bg-modal {
    background-color: #50234d !important
}

thead {
    /*background: linear-gradient(90deg, #50234d, #703d7d);*/
}

thead th {
    color: #000000;
    text-align: center;
    border: none;
}

.table {
    width: 100%;
    color: #000000;
    margin-bottom: 10px !important;
    margin-top: 0px !important;
}

.big-checkbox {
    transform: scale(2);
    cursor: pointer;
    margin-right: 10px;
    margin-top: 4px;
}

.form-check-label {
    font-size: 1.1rem;
    user-select: none;
    padding-left: 10px;
}

.is-invalid {
    /*border: 2px solid #ff4d4f;*/
    background-color: #ffe6e6;
}

tbody tr {
    /*background: #3a1f5a;*/
    transition: background 0.3s;
}

tbody tr:hover {
    /*background: #50234d;*/
}

td, th {
    padding: 12px 15px;
    text-align: center;
    vertical-align: middle;
}

td input {
    width: 100%;
    background: transparent;
    border: none;
    color: #000000;
    font-weight: 500;
    text-align: center;
}

td input::placeholder {
    color: #000000; /* нужный цвет */
    opacity: 1;  /* чтобы цвет не был полупрозрачным в некоторых браузерах */
}

td input:focus {
    outline: none;
    /*border-bottom: 2px solid #f0a500;*/
}
.table thead th {
    border: none !important;
}

.card-header {
    padding: 6px 1.25rem !important;
}

.card-log {
    border: none !important;
    background-color: #ffffff6b !important;
}

.form-control {
    color: black !important;
}


.container {
    /*border: solid 7px #280f4d;*/
    /*border-image: url("../img/bg.jpg");;*/
    /*border-image-width: 100px;*/
    /*border-radius: 15px;*/
}
.img-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.img-btn-doc {
    background: none;
    border: none;
    padding: 0;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    width: 100%;
    height: 140px;
}

.img-btn-doc:hover {
    transform: scale(1.2) rotate(10deg);
    opacity: 0.8;
}
.img-btn-doc img {
    display: block;
}



.img-btn:hover {
    transform: scale(1.2) rotate(10deg);
    opacity: 0.8;
}

.img-btn img {
    display: block;
}

.body-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-name {
    color: #ffffff;
    font-size: 25px;
    width: 75%;
    text-align: center;
    /*background-color: #adc6ed;*/
    border-radius: 10px 0px;
}

.btn-modal {
    padding: 3px 17px !important;
    background-color: white !important;
    color: #4c4c4c !important;
    border: none !important;
}

.header-footer {
    color: #4c4c4c;
    font-size: 25px;
    width: 75%;
    text-align: center;
    background-color: #4a79c24d;
    border-radius: 10px 0px;
    color: #adc6ed;
    text-shadow: none;
}

.card-click {
    cursor: pointer;
}

.custom-color {
    color: #54826b;
}

.custom-btn:hover {
    color: #bbbbbb;
}

.form-control:focus {
    border-color: #54826b;
}

.custom-bg2 {
    background-color: #d1baa7;
}

.custom-text {
    color:  #fbfffd;
}

.form-label {
    margin-bottom: 0 !important;
}

.text-header {
    font-family: FreeMono, monospace;
    font-size: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    color: #4c4c4c;
}

.text-main {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #bdbdbd;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    border: none;
}

.text-main-lb {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000000;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    border: none;
}

.form-control1 {
    font-size: 1.3rem !important;

}

/* Фиксируем поиск сверху */
.search-container {
    position: sticky;
    top: 0;
    z-index: 10;
    padding-top: 1rem;
    padding-bottom: 1rem;
}


.table-wrapper {
    max-height: 80vh;
    overflow-y: auto;
    margin-top: 15px; /* вместо JS */
}

/* Опционально для красоты */
.table-wrapper table {
    width: 100%;
}

.btn-login {
    background-color: #50234d !important;
    width: 200px !important;
}

.text-main-label {
    color: white !important;
    font-family: 'Inter', sans-serif;
    font-size: 9px !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    border: none;
    text-align: center;
    padding-top: 6px;
}

.div-logo {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}




.add-user {
    width: 100%;
    font-size: 17px;
    margin-bottom: 9px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    background-color: #ffd4b2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    overflow: hidden
}

.btn-center {
    font-weight: 500;
    padding: 5px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    margin: 0;
    height: 100vh;
    background-image: url("../img/bg.jpg");
    background-size: cover;
    /*animation: gradientShift 15s ease infinite;*/
    font-family: sans-serif;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



.w-50 {
    width: 35% !important;
    border: none;
}

.custom-modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-comm {
    border: none !important;
    border-radius: 15px !important;
}

.modal-dialog {
    max-width: 540px !important;
}

.modal-body {
    width: 100%;
}
.dropzone .dz-message {
    display: none !important;
}




.custom-modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.25s ease;
}

.dropzone {
    /*border-color: #50234d;*/
    /*border-width: 4px;*/
    border: 4px dashed #50234d !important;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
    margin-bottom: 10px;
}

.dropzone .dz-message {
    margin: 4em 0 !important;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
    color: #666;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #000;
}



@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.card-img-top {
    height: 184px;
    object-fit: cover;
}




.dropzone {
    border: 2px dashed #54826b;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
}

.container-r {
    max-width: 640px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
}


.alert {
    /*margin-bottom: 0;*/
    margin-top: 1rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.4em 0.6em;
    border-radius: 0.5em;
    color: #373737;
    border: 2px solid #e7e7e7;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.minitext {
    margin-top: 14px;
    font-size: 10px;
    color: #595959;
    font-family: 'Inter', sans-serif;
}

.card-body {
    padding: 1.25rem;
    max-height: 200px;
}


.card .card-body {
    padding: 1.25rem;
    max-height: none !important;
}



.bt:focus {
    box-shadow: 0 0 0 .2rem #64977c;
}

.card-click:hover {
    border: 2px solid #ccd9d2;
}


.exc-info {
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 10px;
    line-height: 1.6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.exc-info p {
    margin-bottom: 0.5rem;
}

.exc-info strong {
    color: #444;
    margin-right: 0.3rem;
}


.marker {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: blue;
    border: 2px solid white;
    cursor: pointer;
}



.excursion-bg {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;

    /*mask-image: linear-gradient(to right, rgba(0,0,0,3), rgba(0,0,0,0.3), rgba(0,0,0,0));*/
    mask-image: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0.4), rgba(0,0,0,0));
}

.tb-cust {
    background-color: #ffffffab;
    border-radius: 10px;
}



.icon-custom {
    height: 30px;
}


h4 {
    font-size: 1.7rem;
}

.input-group-text {
    font-size: 1rem;
}

.form-control {
    font-size: 1rem;
}

.btn {
    font-size: 1.2rem;
}

.card {
    width: 60% !important;
    max-width: 700px;
    margin: 0 auto;

}

#map {
    width: 100%;
}

.col-md-4 .card {
    width: 100% !important;
}

.col-md-8 .ff {
    font-size: 20px !important;
}

.row .card {
    width: 56% !important;
    /*margin: 10px 0px !important;*/
    max-width: none !important;
}

.mapp {
    margin-top: 70px;
}


@media (max-width: 670px) {



    .btn {
        font-size: 1.2rem !important;
    }

    .dropdown .btn {
        font-size: 10px !important;
    }

    .col-md-2 .custom-btn{
        padding: 3px !important;
    }

    .col-12 .custom-btn{
        padding: 3px !important;
    }

    .create-modal-content .text-header {
        font-size: 24px !important;
    }

    .bbt {
        padding: 0 !important;
    }

    .inp {
        padding: 0 !important;
    }
    .inp input{
        font-size: 1rem !important;
    }

    h4 {
        font-size: 1.7rem !important;
    }

    .input-group-text {
        font-size: 14px;
    }

    .form-control {
        font-size: 1rem;
    }

    .card {
        width: 90% !important;

    }

    /*.winlog {*/
    /*    margin-top: 2.5rem !important;*/
    /*}*/

    h4 {
        font-size: 20px !important;

    }

    .container .row {
        padding-top: 0 !important;
    }

    .form-control {
        font-size: 14px;
    }




    .form-label .text-main {
        font-size: 16px !important;
        margin-bottom: 0 !important;

    }


    .create-modal-content {
        width: 350px !important;
        padding: 10px !important;
    }

    .col-12 button {
        width: 100% !important;
        margin: 5px 0 !important;
    }
}

@media (min-width: 750px) {

    .container .row .col-12 {
        flex-direction: row;
        flex-wrap: nowrap !important;
    }
    .col-12 button {
        margin: 0 5px !important;
        max-width: none !important;
    }

}
@media (min-width: 1000px) {

    .col-12 button {
        max-width: none !important;
    }
}

/* 🔹 Для десктопов */
@media (min-width: 1200px) {
    .card {
        width: 35% !important;
    }



    .btn {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 2rem;
    }



    /*.col-12 .custom-btn {*/
    /*    */
    /*}*/
}




