#uploadForm {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ddf5f5;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    flex-wrap: wrap; /* برای ایجاد انعطاف در صفحه‌های کوچکتر */
}

#uploadForm input[type="text"], #uploadForm input[type="file"] {
    flex-grow: 1; /* برای اینکه اینپوت‌ها اندازه یکنواخت داشته باشند */
}
#uploadForm input[type="text"]{
    display: none;
    text-align: right;
            font-family: "vazir";
            /* border: 0px; */
            border: 1px #003cff solid;
            border-right: 3px darkblue solid;
            font-size: 13px;
            padding: 7px 10px;
}
#uploadForm input[type="text"]:hover{
    border: 1px darkblue solid;
            border-right: 3px #003cff solid;
}
.custom-file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.custom-file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.custom-file-upload label {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-bottom: 0px !important;
}

.custom-file-upload label:hover {
    background-color: #0056b3;
}

#uploadForm button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

#uploadForm button:hover {
    background-color: #218838;
}

#message {
    margin-top: 10px;
    font-size: 11px;
    color: #28a745;
    padding: 10px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    display: none; /* پیام به صورت پیش‌فرض مخفی است تا وقتی که آپلود موفقیت‌آمیز شود */
}

#message.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}



#layer-tree {
    
}
.upload-shp{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
#layer-tree {
    flex-grow: 1;
    background-color: #ddf5f5;
    overflow-y: auto;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-height: 500px;
}

/* استایل برای آیکون‌ها در درخت */
.jstree .jstree-icon {
    margin-right: 5px; /* فاصله بین آیکون و متن */
}
#layer-tree li{
    padding: 4px; /* فاصله داخلی */
    list-style-type: none;
    text-align: right;
    margin-right: -50px;
    border-bottom: 1px solid #b3eaea;
    margin-bottom: 5px;
}
#layer-tree a {
    color: #19a7a6; /* رنگ متن */
    text-decoration: none; /* عدم زیرخط */
    padding: 4px; /* فاصله داخلی */
    border-radius: 4px; /* گرد کردن گوشه‌ها */
    transition: background-color 0.3s, color 0.3s; /* انیمیشن برای تغییر رنگ */
}

#layer-tree a:hover {
    background-color: #19a7a6; /* رنگ پس‌زمینه هاور */
    color: #ddf5f5; /* تغییر رنگ متن در هاور */
    text-decoration: none; /* عدم زیرخط */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* سایه برای برجسته‌تر کردن */
}
