* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Remove centering when showing tour detail */
body:has(.tour-detail-container) {
    align-items: flex-start;
    padding: 10px;
}

#root {
    width: 100%;
    max-width: 450px;
    padding: 15px;
}

/* Remove max-width constraint when showing tour detail or dashboard */
#root:has(.tour-detail-container),
#root:has(.dashboard-container) {
    max-width: 100%;
    padding: 0;
}

.login-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 15px;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-logo {
    width: auto;
    height: 20px;
    margin: 0 auto 15px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.login-header h1 {
    color: #2c3e50;
    font-size: 30px;
    margin-bottom: 12px;
    font-weight: 600;
}

.login-header p {
    color: #7f8c8d;
    font-size: 15px;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 2px solid #e8eef3;
    border-radius: 10px;
    background: white;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.login-button:hover {
    border-color: #4a90e2;
    background: #f7fafc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.25);
}

.login-button:active {
    transform: translateY(-1px);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-button i {
    font-size: 22px;
    margin-right: 12px;
    width: 22px;
}

.login-button.google {
    border-color: #ea4335;
    color: #ea4335;
}

.login-button.google:hover {
    background: #fef7f6;
    border-color: #ea4335;
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.25);
}

.login-button.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.login-button.facebook:hover {
    background: #f0f7ff;
    border-color: #1877f2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.25);
}

.login-button.github {
    border-color: #24292e;
    color: #24292e;
}

.login-button.github:hover {
    background: #f6f8fa;
    border-color: #24292e;
    box-shadow: 0 6px 20px rgba(36, 41, 46, 0.25);
}

.login-button.twitter {
    border-color: #1da1f2;
    color: #1da1f2;
}

.login-button.twitter:hover {
    background: #f0f9ff;
    border-color: #1da1f2;
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.25);
}

.login-button.email {
    border-color: #34a853;
    color: #34a853;
}

.login-button.email:hover {
    background: #f0fdf4;
    border-color: #34a853;
    box-shadow: 0 6px 20px rgba(52, 168, 83, 0.25);
}

.login-button.signature {
    border-color: #f59e0b;
    color: #f59e0b;
}

.login-button.signature:hover {
    background: #fffbeb;
    border-color: #f59e0b;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.email-form {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.email-input {
    padding: 14px;
    border: 2px solid #e8eef3;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.email-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.loading {
    text-align: center;
    color: #7f8c8d;
    padding: 40px;
}

.spinner {
    border: 4px solid #e8eef3;
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    background: #fff1f0;
    color: #d32f2f;
    padding: 14px;
    border-radius: 10px;
    border-left: 4px solid #d32f2f;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.success {
    background: #f0fdf4;
    color: #16a34a;
    padding: 14px;
    border-radius: 10px;
    border-left: 4px solid #16a34a;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.back-button {
    margin-top: 20px;
    text-align: center;
}

.back-button button {
    background: none;
    border: none;
    color: #4a90e2;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.back-button button:hover {
    background: #f7fafc;
    text-decoration: none;
}

.dashboard {
    text-align: center;
}

.dashboard h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.dashboard p {
    color: #7f8c8d;
    line-height: 1.6;
}

.logout-button {
    padding: 14px 28px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.logout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.logout-button:active {
    transform: translateY(0);
}

/* Terms and Conditions Modal */
.terms-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.terms-modal-content {
    background: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease-out;
}

.terms-modal-header {
    padding: 30px 40px;
    border-bottom: 2px solid #e8eef3;
    background: #f8fafc;
}

.terms-modal-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.terms-modal-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 26px;
    font-weight: 600;
}

.terms-modal-body {
    flex: 1;
    overflow: hidden;
    padding: 0;
}

.terms-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.terms-modal-footer {
    padding: 15px 20px;
    border-top: 2px solid #e8eef3;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.terms-language-selector {
    flex: 0 0 auto;
}

.terms-language-select {
    padding: 10px 16px;
    border: 2px solid #e8eef3;
    border-radius: 10px;
    font-size: 15px;
    color: #2c3e50;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 150px;
}

.terms-language-select:hover:not(:disabled) {
    border-color: #4a90e2;
}

.terms-language-select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.terms-language-select:disabled {
    background: #f7fafc;
    color: #cbd5e0;
    cursor: not-allowed;
}

.terms-buttons {
    display: flex;
    gap: 15px;
    flex: 0 0 auto;
}

.terms-button {
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.terms-button.accept {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.terms-button.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.terms-button.accept:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.terms-button.logout {
    background: white;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.terms-button.logout:hover {
    background: #e74c3c;
    color: white;
}

.terms-button:active {
    transform: translateY(0);
}

h2 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 600;
}

p {
    color: #7f8c8d;
    font-size: 15px;
    line-height: 1.6;
}

.error-actions {
    margin-top: 25px;
}

.retry-button {
    padding: 14px 28px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.retry-button:active {
    transform: translateY(0);
}

/* User Menu */
.user-menu-container {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e8eef3;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-trigger:hover {
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar i {
    font-size: 20px;
}

.user-name {
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    overflow: hidden;
    z-index: 1000;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #2c3e50;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 15px;
}

.user-menu-item:hover {
    background: #f7fafc;
}

.user-menu-item i {
    width: 20px;
    text-align: center;
    color: #4a90e2;
}

.user-menu-item.logout {
    color: #e74c3c;
    border-top: 1px solid #e8eef3;
}

.user-menu-item.logout i {
    color: #e74c3c;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    animation: fadeIn 0.3s ease-out;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    padding: 20px 20px;
    border-bottom: 2px solid #e8eef3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #7f8c8d;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f7fafc;
    color: #2c3e50;
}

.modal-body {
    padding: 15px;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px 20px;
    border-top: 2px solid #e8eef3;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Contact form */
.contact-textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px;
    border: 2px solid #e8eef3;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.contact-textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.btn-primary:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: white;
    color: #2c3e50;
    border: 2px solid #e8eef3;
}

.btn-secondary:hover:not(:disabled) {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.btn-secondary:disabled {
    background: #f7fafc;
    color: #cbd5e0;
    border-color: #e8eef3;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

/* Profile info */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-label {
    color: #7f8c8d;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.profile-value {
    color: #2c3e50;
    font-size: 16px;
}

.language-select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e8eef3;
    border-radius: 10px;
    font-size: 16px;
    color: #2c3e50;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.language-select:hover:not(:disabled) {
    border-color: #4a90e2;
}

.language-select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.language-select:disabled {
    background: #f7fafc;
    color: #cbd5e0;
    cursor: not-allowed;
}

/* Guide Profile */
.guide-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 4px;
    font-size: 14px;
    cursor: help;
}

.star-filled {
    color: #f59e0b;
}

.star-empty {
    color: #cbd5e0;
}

.rating-number {
    display: none;
}

.guide-status {
    display: inline-block;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guide-status-active {
    background: #d1fae5;
    color: #065f46;
}

.guide-status-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.guide-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.guide-status-unknown {
    background: #e5e7eb;
    color: #4b5563;
}

.guide-description {
    white-space: pre-wrap;
    line-height: 1.6;
    color: #2c3e50;
}

.btn-referal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: #4a90e2;
    border: 2px solid #4a90e2;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-referal:hover:not(:disabled) {
    background: #4a90e2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.btn-referal:disabled {
    background: #f7fafc;
    color: #cbd5e0;
    border-color: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.btn-referal:active {
    transform: translateY(0);
}

.btn-referal i {
    font-size: 16px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 40px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.profile-avatar-large.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-avatar-large.clickable img {
    cursor: pointer;
}

.profile-avatar-large.clickable:hover {
    transform: scale(1.05);
}

.profile-avatar-large.clickable:hover .avatar-overlay {
    opacity: 1;
}

.profile-avatar-large.uploading {
    cursor: wait;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-large i {
    font-size: 50px;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.avatar-overlay i {
    font-size: 30px;
    color: white;
}

/* Payment links */
.payment-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f7fafc;
    border: 2px solid #e8eef3;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.2s ease;
}

.payment-link:hover {
    border-color: #4a90e2;
    background: white;
}

.payment-link i {
    color: #4a90e2;
}

/* --- TOP BAR --- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 72px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 3000;
    padding: 0 40px;
}
.top-bar-logo img {
    height: 48px;
    width: auto;
    display: block;
}
.top-bar-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Install App Button */
.install-app-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #4a90e2;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    flex-shrink: 0;
}

.install-app-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.install-app-button:active {
    transform: scale(0.95);
}

.install-app-button i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive adjustments for install button */
@media (max-width: 480px) {
    .install-app-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* --- BOTTOM NAVIGATION --- */
.bottom-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 64px;
    background: white;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}
.bottom-nav-btn {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #357abd;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 10px;
    height: 100%;
    transition: background 0.2s, color 0.2s;
    border-radius: 0;
    outline: none;
}
.bottom-nav-btn i {
    font-size: 24px;
    margin-bottom: 2px;
}
.bottom-nav-btn.active, .bottom-nav-btn:active, .bottom-nav-btn:focus {
    background: #f0f7ff;
    color: #4a90e2;
}

/* --- MAIN CONTENT ADJUSTMENT --- */
.main-content-with-nav {
    padding-top: 90px;
    padding-bottom: 80px;
    min-height: calc(100vh - 170px);
}

/* --- TOURS LIST --- */
.tours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tour-item {
    padding: 10px;
    border-bottom: 1px solid #e8eef3;
    font-size: 16px;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 4px;
}
.tour-item:hover {
    background-color: #f7fafc;
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
}
.tour-item:last-child {
    border-bottom: 1px solid #e8eef3;
}

/* --- MODERATION LIST --- */
.moderation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- BLACKLIST GRID --- */
.blacklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.blacklist-item {
    background: white;
    border: 2px solid #e8eef3;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s ease;
}

.blacklist-item:hover {
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.blacklist-item-hash {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #7f8c8d;
    word-break: break-all;
    margin-bottom: 8px;
    background: #f7fafc;
    border-radius: 6px;
}

.blacklist-item-description {
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blacklist-item-info {
    padding: 10px;
    background: #f7fafc;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.blacklist-item-hash,
.blacklist-item-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #7f8c8d;
}

.blacklist-item-hash {
    font-family: 'Courier New', monospace;
}

.blacklist-item-hash i,
.blacklist-item-date i {
    width: 14px;
    text-align: center;
    color: #4a90e2;
    flex-shrink: 0;
}

.blacklist-item-hash span {
    word-break: break-all;
    text-align: left;
}

@media (max-width: 600px) {
    .top-bar, .bottom-nav {
        padding-left: 8px;
        padding-right: 8px;
    }
    .main-content-with-nav {
        padding-top: 62px;
        padding-bottom: 62px;
    }
    .modal-content {
        max-width: 98vw;
        padding: 0;
    }
}

/* --- TOUR DETAIL CONTAINER --- */
.tour-detail-container {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    background: white;
    border-radius: 16px;
    box-shadow: none;
    animation: slideIn 0.4s ease-out;
}

@media (min-width: 768px) {
    .tour-detail-container {
        max-width: 1300px;
        margin: 0 auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
}

/* Tour tabs */
.tour-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    justify-content: center;
}

.tour-tab {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: #7f8c8d;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
}

.tour-tab.active {
    border-bottom-color: #4a90e2;
    color: #4a90e2;
    font-weight: 600;
}

.tour-tab i {
    font-size: 24px;
}

.tour-tab-text {
    font-size: 13px;
}



/* Back button for tour detail */
.btn-back-tour {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: #f8f9fa;
    color: #7f8c8d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-back-tour:hover {
    background-color: #e9ecef;
    color: #2c3e50;
    transform: scale(1.05);
}

.btn-back-tour:active {
    transform: scale(0.95);
}/* Hide tab text on mobile */
@media (max-width: 767px) {
    .tour-tab {
        padding: 10px;
        gap: 4px;
    }

    .tour-tab-text {
        display: none;
    }

    .tour-tab i {
        font-size: 28px;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e8eef3;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Review Card */
.review-card {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8eef3;
    transition: all 0.2s ease;
}

.review-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #d0d7de;
}

/* Icon Button Danger */
.btn-icon-danger {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-danger:hover {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
}

.btn-icon-danger:active {
    transform: scale(0.95);
}

/* Pulse animation for map markers */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
    }
}
