* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* navbar style */
.bi-box-arrow-right {
    font-size: 20px;
}


/* Sidebar */


.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: -5;
    left: 0;
    box-shadow: 0px 0 30px 0px rgba(133, 133, 133, 0.2);
    padding-top: 20px;
    transition: transform 0.3s ease;


}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 9%;
    box-shadow: 0px 0 0px 0px rgba(133, 133, 133, 0.2);
}

.sidebar-item:hover {
    background: #f0f0f0;
}

.sidebar-item i {
    margin-right: 10px;
    font-size: 18px;
}

.bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(133, 133, 133, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.bottom-bar a {
    display: none;
    text-decoration: none;
    color: black;
    font-size: 20px;
    position: relative;
    padding: 10px;
}

/* Tooltip Styling */
.bottom-bar a .tooltip {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

/* Show tooltip on hover */
.bottom-bar a:hover .tooltip {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

@media screen and (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .bottom-bar {
        display: flex;
    }

    .bottom-bar a {
        display: block;
    }
}



/* Main Content  */
.Admin_home_main {
    margin-left: 250px;
    margin-top: 60px;
    height: auto;
    width: calc(100% - 250px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:column;

}

@media screen and (max-width: 768px) {
    .Admin_home_main {
        margin-left: 0px;
        margin-top: 70px;
        height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }


}

/* ********************************************************** */

/* adim form style */

.Admin_form_main {
    height: auto;
    width: 500px;
    background: white;
    padding: 20px;
    border: none;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5%;
}

.form-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}
a{
    text-decoration:none;
    color:black;
}
label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #007bff;
}

.image-preview {
    width: 100%;
    height: 150px;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    display: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: rgb(92, 92, 92);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: rgb(52, 52, 52);
}
.edit-btn {
    width: 100%;
    padding: 12px;
    background-color:green;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.edit-btn:hover {
    background-color: rgb(52, 52, 52);
}
@media screen and (max-width: 768px) {
    .Admin_form_main {
        width: 90%;
    }

}

