@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td,
th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

#map {
    width: 50%;
    height: 400px;
}

.popup {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.374);
    inset: unset;
    width: 100vw;
    height: 100vh;
    z-index: 1000000;
    display: none;
}

.popup_cont {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
}

.add_new_btn {
    background-color: rgb(11, 112, 156);
    padding: 10px;
    border-radius: 15px;
    width: fit-content;
    color: white;
    font-size: 14px;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 32.3%);
    justify-content: center;
    gap: 20px;
    margin-top: 5vh;
}

.grid_cont {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grid_cont > .grid_image > img {
    border-radius: 15px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.store_details {
    border: 1px solid gray;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
}

select {
    padding: 20px;
    padding-left: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid rgba(128, 128, 128, 0.333);
    border-radius: 8px;
    width: 100%;
}

#filter_btn {
    outline: none;
    border: none;
    background-color: black;
    padding: 20px;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
    width: 200px;
}

#filter_btn:hover {
    opacity: 0.7;
}

.filter {
    width: 100%;
    align-items: center;
    gap: 20px;
    margin-top: 3vh;
}

.filter > div {
    width: 100%;
}

.login_cont {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_cont > .grid_login {
    background-color: transparent;
    border-radius: 15px;

    width: 45vw;

    display: grid;
    grid-template-columns: 50%;

    justify-content: center;
}

.grid_login_left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;

}

.login_cont > .grid_login > form {
    border-radius: 15px;

    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.login_cont > .grid_login > form > div {
    width: 100%;
    color:white;
}
.login_cont > .grid_login > form > div > input {
    width: 100%;
    outline: none;
    border: 1px solid rgba(128, 128, 128, 0.355);
    border-radius: 8px;
    padding: 10px;
    margin-top: 5px;
}

.login_cont > .grid_login > form > button {
    outline: none;
    border: none;
    background-color: black;
    padding: 10px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.login_cont > .grid_login > form > button:hover {
    opacity: 0.7;
}

button {
    color: white;
    background-color: black;
    outline: none;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    opacity: 0.7;
}

.add_new_link {
    color: inherit;
    text-decoration: none;
    color: white;
    background-color: rgb(11, 112, 156);
    outline: none;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
}

.grid_add {
    display: grid;
    grid-template-columns: repeat(3, 32.5%);
    width: 100%;
    justify-content: center;
    gap: 20px;
}
.grid_add > div {
    width: 100%;
}
.grid_add > div > input,
.grid_add > div > .flex > div > input {
    outline: none;
    border: 1px solid gray;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.grid_add > div > .flex > select {
    width: 100%;
    flex: 1;
}

.grid_add > div > .flex {
    gap: 10px;
}

.map_cont {
    margin-top: 5vh;
}

.map_cont > .flex {
    display: flex;
    gap: 10px;
    width: 100%;
}

.map_input {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.map_input > input {
    outline: none;
    border: 1px solid gray;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    width: 100%;
}

.add_new_item {
    width: 30%;
    margin-top: 5vh;
    margin-bottom: 3vh;
}

.place_cont > .img_cont {
    height: 500px;
    margin: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.place_cont > .img_cont > h1 {
    position: absolute;
    bottom: 5%;
    right: 5%;
    color: white;
}

.place_cont > .img_cont > img {
    border-radius: 15px;
    height: 500px;
    width: 100%;
    margin: auto;
    object-fit: cover;
}

.place_cont > .flex {
    margin-top: 5vh;
    margin-bottom: 5vh;
    justify-content: space-around;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

.nav {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 10px;
    padding-left: 0px;
}

.nav > li {
    border: 1px solid rgb(11, 112, 156);
    padding: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
.nav > li:hover,
.nav > .active {
    background-color: rgb(11, 112, 156);
    padding: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 8px;
    color: white;
}

.header {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.address {
    font-size: 18px;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.logout {
    display: flex;
    background-color: rgb(210, 6, 6);
    border-radius: 20px;
    padding: 10px;
    color: white;
    align-items: center;
    gap: 5px;
    outline: none;
    border: none;
    margin-left: 20px;
}

.logout > div > svg {
    margin-top: 5px;
}

@media only screen and (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(1, 100%);
    }
    .grid_add {
        grid-template-columns: repeat(2, 47%);
    }

    .filter_mobile {
        flex-direction: column;
    }

    .login_cont > form {
        width: 80vw;
    }

    .grid_cont > div > h1 {
        font-size: 17px;
    }
}
