/* Global Styles */
body {
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Wrapper */
.wrapper {
    width: 100%;
    margin: auto;
}

/* Content */
.content {
    background-color: white;
    width: 100%;
    min-height: 550px;
}

/* Menu */
.menu {
    background-color: #D4B996;
    width: 100%;
    padding: 0;
    height: 50px;
    color: #D4B996;
    border-radius: 5px;
}

.menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

.menu ul li {
    display: block;
}

.menu ul li a {
    font-size: 13px;
    font-weight: bold;
    line-height: 50px;
    padding: 10px 26px;
    color: rgba(255, 255, 255, 1);
    border-radius: 5px;
    text-decoration: none;
}

.menu ul li:hover {
    background-color: #A07855;
}

/* Clearfix */
.clear {
    clear: both;
}

/* Footer */
.footer {
    padding-top: 1px;
    height: 50px;
    background-color: #D4B996;
    color: #FFF;
    text-align: center;
}

/* Contact */
.contact {
    background-color: whitesmoke;
    width: 100%;
    height: auto;
    padding: 9px;
    text-align: center;
}

/* Dropdown for Account */
.dropdownAcc {
    float: right;
    overflow: hidden;
    z-index: 99;
}

.dropdownAcc .dropbtnAcc {
    font-size: 13px;
    font-weight: bold;
    line-height: 40px;
    padding: 0 20px;
    color: rgba(255, 255, 255, 1);
    border-radius: 5px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.dropdown-contentAcc {
    display: none;
    position: absolute;
    background-color: #A07855;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    top: 29%;
    left: 94%;
    transform: translate(-50%, -50%);
}

.dropdown-contentAcc a {
    color: white;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
}

.dropdown-contentAcc a:hover {
    background-color: rgb(139, 105, 75);
    border-radius: 5px;
}

.dropdownAcc:hover .dropdown-contentAcc {
    display: block;
}

/* Dropdown for Menu */
.dropdownMu {
    overflow: hidden;
    margin-right: 500px;
    z-index: 99;
}

.dropdownMu .dropbtnMu {
    margin-top: 10px;
    font-size: 13px;
    font-weight: bold;
    line-height: 30px;
    padding: 0 20px;
    color: rgba(255, 255, 255, 1);
    border-radius: 5px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.dropdown-contentMu {
    display: none;
    position: absolute;
    background-color: #A07855;
    min-width: 130px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    top: 50%;
    right: 82%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Ensure dropdown appears above other elements */
}

.dropdown-contentMu a {
    color: white;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
}

.dropdown-contentMu a:hover {
    background-color: rgb(139, 105, 75);
    border-radius: 5px;
}

.dropdownMu:hover .dropdown-contentMu {
    display: block;
}

/* Logo Positioning */
.logo {
    position: absolute;
    top: 5.3%;
    left: 13%;
    transform: translate(-50%, -50%);
}

/* Form Styles */
.formfirst {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
}

/* Button Styles */
button,
.btnmange button {
    border: none;
    background-color: #A07855;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 5px;
}

button:hover,
.btnmange button:hover {
    background-color: rgb(139, 105, 75);
}

.circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    margin: 10px;
}

button#btncari {
    margin-right: 90px;
}

.highlight {
    background-color: rgb(139, 105, 75);
}

/* Input and Select Styles */
.slctBT, .slctNP, input[type="search"] {
    margin: 10px;
    background-color: #f9f9f9;
    width: 160px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.slctBT:focus, .slctNP:focus, input[type="search"]:focus {
    border-color: #A07855;
    outline: none;
    box-shadow: 0 0 5px rgba(160, 120, 85, 0.5);
}

/* Flex Container */
.flex-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.addbtn {
    background-color: #A07855;
    color: white;
    font-size: 18px;
    text-align: center;
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    width: 300px;
    height: 40px;
}

.addbtn:hover {
    background-color: rgb(139, 105, 75);
}
.rate i {
    color: #ffcc00; /* star color */
    margin-right: 5px;
}

/* Form Container */
.form-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f9f9f9;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.formarrg {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    margin-left: 3px;
}

.input-group input {
    border-radius: 15px;
    border: none;
    width: 100%;
    max-width: 400px;
    height: 28px;
    text-align: left;
}

.uploadpart {
    gap: 7px;
}

.btn {
    border-radius: 15px;
    border: none;
    width: 100%;
    max-width: 300px;
    height: 30px;
    color: white;
    background-color: #A07855;
    text-align: center;
}

.btn:hover {
    background-color: rgb(139, 105, 75);
}

/* Card Container */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Card */
.card {
    flex: 0 1 calc(25% - 20px);
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card img {
    width: 100%;
    height: auto;
}

.caption {
    padding: 20px;
    text-align: left;
}

/* Card Button */
button.add {
    border: none;
    border-radius: 5px;
    background-color: #A07855;
    color: white;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: center;
}

button.add:hover {
    background-color: rgb(139, 105, 75);
}

/* Form Find */
.formfind {
    position: fixed;
    top: 16%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f9f9f9;
    border-radius: 10px;
    flex-direction: row;
    gap: 4px;
    margin-top: 20px;
    margin-left: 3px;
    text-align: center;
}

.formfirst {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.formfirst select,
.formfirst .search-input {
    margin-right: 3px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    border-radius: 10px;
    background-color: #fefefe;
    text-align: center;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#confirmBtn {
    background-color: #4caf50;
    color: white;
}

#confirmBtn:hover {
    background-color: darkgreen;
}

#cancelBtn {
    background-color: #f44336;
    color: white;
}

#cancelBtn:hover {
    background-color: darkred;
}
