/* Wallet Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

#postingModal .modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    border: 2px dashed #444;
    position: relative;
}

#postingModal .close-btn {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 28px;
    font-weight: bold;
    background-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

#postingModal .close-btn:hover,
#postingModal .close-btn:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

#postingModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#postingModal .modal-header .bi-plus-square {
    font-size: 30px;
    color: #00ff00;
    margin-right: 10px;
}

#postingModal .modal-header h2 {
    font-size: 24px;
    color: #00ff00;
    margin: 0;
}

#wallet-modal .modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    border: 2px dashed #444;
    position: relative;
}

#wallet-modal .close-btn {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 28px;
    font-weight: bold;
    background-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

#wallet-modal .close-btn:hover,
#wallet-modal .close-btn:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

#wallet-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#wallet-modal .modal-header .bi-wallet {
    font-size: 30px;
    color: #00ff00;
    margin-right: 10px;
}

#wallet-modal .modal-header h2 {
    font-size: 24px;
    color: #00ff00;
    margin: 0;
}

#wallet-modal #wallet-email {
    margin-bottom: 10px;
}

#updprofile-modal .modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 30px 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    border: 2px dashed #444;
    position: relative;
    box-sizing: border-box;
}

#updprofile-modal .close-btn {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    font-weight: bold;
    background-color: #333;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
}

#updprofile-modal .close-btn:hover,
#updprofile-modal .close-btn:focus {
    color: #fff;
    text-decoration: none;
}

#updprofile-modal .updprofile-title {
    color: #ffcc00;
    font-size: 22px;
    margin: 0 0 20px 0;
}

#updprofile-modal .updprofile-body p {
    margin: 4px 0;
}

#updprofile-modal .updprofile-box {
    border: 1px solid #555;
    border-radius: 10px;
    padding: 20px 10px;
    margin: 15px 0 20px 0;
}

#updprofile-modal .updprofile-button {
    display: inline-block;
    background-color: #00a000;
    color: #fff;
    padding: 8px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

#updprofile-modal .updprofile-button:hover {
    background-color: #008000;
}

#updprofile-modal .updprofile-footer-text {
    font-size: 12px;
    color: #ddd;
    line-height: 1.4;
}

#postingModal .method-buttons {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

#postingModal .method-button {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    color: white !important;
    font-weight: bold !important;
    border: none !important;
    cursor: pointer !important;
}

#postingModal .method-button i {
    font-size: 24px !important; /* Adjust icon size */
    margin-bottom: 5px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 5px !important;
}

#postingModal .jual-button { background-color: #ff4d4d !important; }
#postingModal .tukar-button { background-color: #4caf50 !important; }
#postingModal .lelang-button { background-color: #ff9800 !important; }
#postingModal .barter-button { background-color: #2196f3 !important; }

.warning-text, .selection-text, .address-warning {
    text-align: center;
    margin: 10px 0;
}

/* ... existing code ... */
.photo-upload-container {
    display: flex;
    justify-content: space-between;
}

.photo-upload-slot {
    width: 100px;
    height: 100px;
    border: 2px dashed #555;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

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

.weight-input {
    display: flex;
}

.tos-agreement {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
}

.simpan-button, .batal-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.simpan-button { background-color: #2196f3; color: white; }
.batal-button { background-color: #ff4d4d; color: white; }

#wallet-modal #wallet-balance {
    font-size: 16px;
    color: #00ff00;
    margin-bottom: 20px;
}

#wallet-modal #withdraw-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 10px;
}

#wallet-modal .withdraw-info {
    color: #00ff00;
    font-size: 14px;
    margin-bottom: 20px;
}

#wallet-modal .wallet-actions {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

#wallet-modal .wallet-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#wallet-modal #journal-btn {
    background-color: #ff8c00;
    color: white;
}

#wallet-modal #topup-btn {
    background-color: #ff0000;
    color: white;
}

#product-image-modal .modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 900px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    border: 2px dashed #444;
    position: relative;
    box-sizing: border-box;
}

#product-image-modal .close-btn {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 28px;
    font-weight: bold;
    background-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

#product-image-modal .close-btn:hover,
#product-image-modal .close-btn:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.product-image-viewer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 20px 0;
}

.product-image-viewer img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    background-color: #fff;
    border-radius: 12px;
}

.nav-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
}

.nav-button:hover {
    color: #ccc;
}

.product-image-info {
    margin-top: 10px;
}

.product-image-info h3 {
    margin: 10px 0 5px 0;
    font-size: 20px;
}

.product-image-info p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

#wallet-modal .wallet-verification-info {
    font-size: 12px;
    color: #aaa;
}

#laporproduk-modal .modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    border: 2px dashed #444;
    position: relative;
    box-sizing: border-box;
}

#laporproduk-modal .close-btn {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 28px;
    font-weight: bold;
    background-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

#laporproduk-modal .close-btn:hover,
#laporproduk-modal .close-btn:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.laporproduk-header h3 {
    margin: 0;
    font-size: 20px;
    color: #ff3333;
}

.laporproduk-header p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #ff3333;
}

.lapor-input-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

#lapor-text {
    flex: 1;
    max-width: 340px;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.lapor-submit-btn {
    background-color: #ff0000;
    color: #fff;
    padding: 8px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.lapor-submit-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

.lapor-char-info {
    font-size: 12px;
    margin-bottom: 15px;
}

.lapor-char-max {
    color: #ccc;
}

.lapor-list-container {
    margin-top: 10px;
}

.laporproduk-list {
    border: 1px dashed #777;
    border-radius: 10px;
    padding: 10px;
    max-height: 260px;
    overflow-y: auto;
    text-align: left;
    font-size: 12px;
}

.lapor-item {
    margin-bottom: 12px;
}

.lapor-item p {
    margin: 2px 0;
}

.lapor-label {
    color: #ffcc00;
}

.lapor-note {
    margin-top: 12px;
    font-size: 12px;
    color: #fff;
}

#rating-modal .rating-modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    border: 2px dashed #444;
    position: relative;
    box-sizing: border-box;
}

#rating-modal .rating-close {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 28px;
    font-weight: bold;
    background-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

#rating-modal .rating-close:hover,
#rating-modal .rating-close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.rating-header h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #ffcc00;
}

.rating-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rating-stars-box {
    display: inline-flex;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px dashed #777;
}

.rating-star {
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    padding: 0;
}

.rating-star.active {
    color: #ffcc00;
}

.rating-actions {
    margin-top: 10px;
}

.rating-save-btn {
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 32px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.rating-save-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

#cookie-consent-modal .cookie-modal-content {
    background-color: #1a1a1a;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    border: 2px dashed #555;
    position: relative;
    box-sizing: border-box;
}

#cookie-consent-modal {
    align-items: center;
    justify-content: center;
}

#cookie-consent-modal .cookie-close-btn {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 28px;
    font-weight: bold;
    background-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: none;
}

#cookie-consent-modal .cookie-close-btn:hover,
#cookie-consent-modal .cookie-close-btn:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.cookie-modal-inner {
    padding: 10px 10px 0 10px;
}

.cookie-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #ffcc00;
}

.cookie-text-box {
    border: 1px dashed #777;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.cookie-text {
    margin: 0 0 8px 0;
}

.cookie-text:last-child {
    margin-bottom: 0;
}

.cookie-actions {
    text-align: center;
    margin-bottom: 5px;
}

.cookie-accept-btn {
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 32px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-accept-btn:hover {
    background-color: #43a047;
}

.notif-dropdown {
    display: none;
    position: absolute;
    z-index: 1100;
    right: 20px;
    top: 60px;
}

.notif-content {
    background-color: #1a1a1a;
    padding: 15px 18px;
    border: 1px solid #888;
    width: 320px;
    border-radius: 10px;
    color: #fff;
    border: 2px dashed #444;
    position: relative;
    box-sizing: border-box;
    font-size: 12px;
}

.notif-close-btn {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
    font-weight: bold;
    background-color: #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.notif-close-btn:hover,
.notif-close-btn:focus {
    color: #fff;
    text-decoration: none;
}

.notif-section {
    margin-bottom: 12px;
}

.notif-section:last-child {
    margin-bottom: 0;
}

.notif-title {
    color: #ffcc00;
    margin-bottom: 4px;
}

.notif-empty {
    color: #888;
}

.notif-item {
    margin-top: 4px;
}

.notif-date {
    color: #ccc;
}

.notif-user {
    color: #00ff00;
}

.notif-text {
    margin-top: 2px;
}

.notif-link {
    color: #4caf50;
    text-decoration: none;
    margin-left: 4px;
}

.notif-link:hover {
    text-decoration: underline;
}
