.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: none;
    z-index: 1000;
}

.popup h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.popup p {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
}

.popup button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.btn-primary {
    background-image: linear-gradient(#ff400f, #F88C1F);
    color: white;
}

.btn-secondary {
    background-color: #f1f1f1;
    color: #4285f4;
}

.search-container {
    position: relative;
}

.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
    text-transform: capitalize;
}

.suggestion-item:hover {
    background: #f0f0f0;
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.custom-modal-content {
    background-color: #fff;
    margin: 10% auto;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    position: relative;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.custom-modal-content .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}


.profile-menu {
    position: relative;
}

.user-icon {
    font-size: 30px;
    cursor: pointer;
    color: #f0f0f0;
}

.profile-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
    display: none;
    z-index: 99999;
}

.profile-dropdown.active {
    display: block;
}

.profile-top {
    text-align: center;
    padding: 20px;
    background: linear-gradient(#ff400f,#F88C1F);
    color: #fff;
}

.profile-top i {
    font-size: 60px;
}

.profile-body {
    padding: 15px;
}

.profile-body p {
    margin-bottom: 10px;
    font-size: 14px;
}

.profile-footer {
    border-top: 1px solid #eee;
    padding: 15px;
}

.logout-link {
    display: block;
    text-align: center;
    padding: 10px;
    background: #ff400f;
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none;
}




.mobile-profile-menu {
    position: relative;
}

.mobile-user-icon {
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
}

.mobile-profile-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
    display: none;
    z-index: 999999;
}

.mobile-profile-dropdown.active {
    display: block;
}

/* Mobile Full Width */
@media (max-width: 768px) {
    .mobile-profile-dropdown {
        width: 260px;
        right: -10px;
    }

    .profile-body p {
        font-size: 13px;
        word-break: break-word;
    }
}