body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #111117;
    margin: 0;
    padding: 20px;
    color: #eee;
    user-select: none; /* Disable text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Watermark Overlay */
.watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through */
    z-index: 9999;
    opacity: 0.05; /* Very subtle */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='100'%3E%3Ctext transform='rotate(-30)' y='60' x='0' font-family='Arial' font-size='16' fill='%23ffffff'%3E泰富数据库%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.top-bar {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3000;
}

.top-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3000;
}

.top-nav .lang-toggle {
    order: 2;
}

.top-nav .user-info {
    order: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.logout-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
}

.logout-btn:hover {
    background-color: #d32f2f;
}

.top-add-btn {
    background-color: #2196f3;
    color: white;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    transition: background-color 0.2s;
}

.top-add-btn:hover {
    background-color: #1e88e5;
}

.top-audit-btn {
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    transition: background-color 0.2s;
}

.top-audit-btn:hover {
    background-color: #43a047;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
}

.toast {
    background-color: #4CAF50;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease-out;
    cursor: pointer;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.hide {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.toast .icon {
    font-size: 20px;
}

.toast .message {
    font-size: 14px;
    font-weight: 500;
}

.notification-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #f44336;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    right: 5px;
}

.lang-toggle {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid #4CAF50;
    background-color: #fff;
    color: #4CAF50;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s;
}

.lang-btn:hover {
    background-color: #e8f5e9;
}

.lang-btn.active {
    background-color: #4CAF50;
    color: #fff;
}

.auto-translate {
    transition: all 0.2s;
}

.translating {
    opacity: 0.6;
}

.lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-img[src^="http"], .lazy-img[src^="/"], .lazy-img[src^="data:image/"] {
    opacity: 1;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #4CAF50;
    font-size: 1.2rem;
}

/* Login Overlay Styles */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Changed from transparent to semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.login-box {
    background-color: rgba(20, 20, 30, 0.85);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 2100;
    backdrop-filter: blur(10px);
}

.login-box h2 {
    margin-bottom: 25px;
    color: #eee;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: -20px; /* 使 logo 略微上移 */
}

.login-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    background-color: #000;
}

.login-box .input-group-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-buttons {
    display: flex;
    gap: 10px;
}

.login-box input {
    padding: 12px 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.login-box input:focus {
    border-color: #4CAF50;
}

.login-box .login-submit-btn {
    padding: 12px 25px;
    border: none;
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.2s;
    flex: 1;
}

.login-box .login-submit-btn:hover {
    background-color: #45a049;
}

.login-box .register-btn {
    background-color: #2196F3;
}

.login-box .register-btn:hover {
    background-color: #1e88e5;
}

.login-box .msg-error {
    margin-top: 15px;
    font-size: 14px;
}

.container {
    max-width: 950px; /* 稍微调大一点点，更协调 */
    margin: 0 auto; /* 恢复居中 */
    background-color: rgba(20, 20, 30, 0.85);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

/* 仅在首页应用 flex 布局 */
body:not(.admin-page) .layout-wrapper {
    display: block; /* 改为 block，因为公告栏已脱离文档流 */
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 60px; /* Space for top bar */
    position: relative;
}

body:not(.admin-page) .container {
    margin: 0 auto; /* 主内容区自动居中 */
}

.notice-board {
    width: 400px; /* 增加宽度 */
    background-color: rgba(20, 20, 30, 0.85);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: fixed; /* 固定位置 */
    left: 20px; /* 距离左侧20px */
    top: 100px; /* 距离顶部100px */
    z-index: 1000; /* 确保在内容之上 */
    max-height: 90vh; /* 增加最大高度 */
    overflow-y: auto;
    scrollbar-width: none; /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none; /* IE/Edge 隐藏滚动条 */
}

/* Chrome/Safari 隐藏滚动条 */
.notice-board::-webkit-scrollbar {
    display: none;
}

/* Calendar Styles */
.calendar-container {
    margin: 0 0 25px 0; /* 移除 auto 以确保 100% 填充 */
    width: 100%; /* 宽度占满父容器，实现对齐 */
    box-sizing: border-box;
    background: rgba(20, 20, 30, 0.5);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #00ffff;
    font-weight: bold;
    font-size: 18px; /* 进一步调大标题以匹配宽度 */
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px; /* 增加间距使布局更舒展 */
}

.calendar-day-name {
    text-align: center;
    font-size: 14px;
    color: #888;
    padding-bottom: 8px;
}

.calendar-day {
    /* 移除 aspect-ratio 以允许更宽的比例 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    padding: 12px 0;
    min-height: 50px;
}

.calendar-day:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar-day.today {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.calendar-day-num {
    font-size: 12px; /* 缩小字号 */
    color: #eee;
}

.calendar-day-count {
    background-color: #f44336;
    color: white;
    padding: 0px 4px;
    border-radius: 8px;
    font-size: 9px; /* 缩小统计红标 */
    font-weight: bold;
    margin-top: 2px;
}

.calendar-nav-btn {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.calendar-nav-btn:hover {
    background: rgba(0, 255, 255, 0.2);
}

.notice-header {
    background: rgba(0, 255, 255, 0.1);
    padding: 10px 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    font-weight: bold;
    color: #00ffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-header::before {
    content: "📢";
}

.notice-body {
    padding: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #eee;
}

.notice-content img {
    max-width: 100%;
    border-radius: 4px;
    margin: 10px 0;
}

@media (max-width: 1100px) {
    .notice-board {
        position: static; /* 在小屏幕上恢复正常文档流 */
        width: 100%;
        max-width: 850px;
        margin: 0 auto 20px auto; /* 居中并与下方内容保持间距 */
    }

    body:not(.admin-page) .layout-wrapper {
        padding-top: 20px; /* 调整小屏幕上的顶部间距 */
    }
}

h1 {
    text-align: center;
    color: #eee;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

#searchInput {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

#searchInput:focus {
    border-color: #4CAF50;
}

#searchBtn {
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#searchBtn:hover {
    background-color: #45a049;
}

.uploaders-container {
    margin-bottom: 15px;
    background: rgba(20, 20, 30, 0.5);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.uploader-group {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.uploader-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.group-header {
    margin: 0 0 10px 0;
    color: #4CAF50;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.group-header::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background-color: #4CAF50;
    margin-right: 8px;
    border-radius: 2px;
}

.group-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.uploader-item {
    background: rgba(76, 175, 80, 0.15);
    color: #eee;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.2s;
}

.uploader-item:hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.4);
}

.uploader-name {
    cursor: pointer;
}

.uploader-badges {
    display: flex;
    gap: 4px;
}

.count-badge {
    background-color: #4CAF50;
    color: white;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    min-width: 12px;
    text-align: center;
    cursor: pointer;
}

.count-badge.today-badge {
    background-color: #4CAF50;
}

.count-badge.month-badge {
    background-color: #2196F3;
}

.count-badge:hover {
    filter: brightness(1.2);
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.stats-item {
    font-size: 15px;
    color: #ccc;
    font-weight: 500;
}

.stats-item span {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.1em;
}

.stats-item.clickable {
    cursor: pointer;
    transition: color 0.2s;
    padding: 2px 8px;
    border-radius: 4px;
}

.stats-item.clickable:hover {
    background-color: rgba(0, 255, 255, 0.1);
    color: #00ffff;
}

.results-container {
    margin-top: 20px;
}

.result-item {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.1);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: box-shadow 0.3s;
}

.result-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
}

.serial-number {
    background-color: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.result-item h3 {
    margin: 0;
    color: #4CAF50;
    font-size: 1.2em;
    flex: 1;
}

.added-by {
    font-size: 14px;
    color: #888;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.status-badge {
    font-size: 12px;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge.status-approved {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.status-rejected {
    background-color: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.status-badge.status-pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.result-item .meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.9em;
    color: #aaa;
    border-bottom: 1px dashed rgba(0, 255, 255, 0.2);
    padding-bottom: 10px;
}

.result-item .meta-item b {
    color: #eee;
}

.result-item .fb-link {
    color: #1877F2;
    text-decoration: none;
    font-weight: 500;
}

.result-item .fb-link:hover {
    text-decoration: underline;
}

.result-item .content-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
    color: #ccc;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.result-item .content-item {
    flex: 1;
    min-width: 200px;
}

.result-item .content-item b {
    color: #eee;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 14px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background-color: transparent;
    color: #00ffff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover {
    background-color: rgba(0, 255, 255, 0.1);
}

.page-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

.page-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

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

/* Form Layout Adjustments */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    font-weight: 500;
}

.form-group input, .form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

.form-group select option {
    background-color: #1a1a2e;
    color: #fff;
}

/* Image Upload Styles */
.image-upload-container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(0, 255, 255, 0.3);
    padding: 20px;
    border-radius: 6px;
    margin-top: 5px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    outline: none;
}

.image-upload-container.paste-zone:focus, .image-upload-container.paste-zone.dragover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

.image-upload-container.paste-zone {
    cursor: pointer; /* 提示可以点击 */
}

.paste-hint {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
    pointer-events: none;
}

.image-upload-container.paste-zone:focus .paste-hint {
    color: #4CAF50;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.preview-item .remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
}

/* Result Item Images */
.result-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    padding-top: 15px;
}

.result-image-item {
    width: 120px;
    height: 120px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.2s;
}

.result-image-item:hover {
    transform: scale(1.05);
}

.result-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* .ws-group {
    max-width: 300px;
} */

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1e88e5;
}

#adminMsg {
    margin-top: 20px;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
}

.msg-success {
    background-color: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.msg-info {
    color: #2196F3;
    margin-top: 15px;
    font-weight: 500;
}

.msg-error {
    background-color: rgba(245, 34, 45, 0.1);
    color: #f5222d;
    border: 1px solid #f5222d;
}

.msg-error.duplicate-info {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #ffa39e;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 5000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content-wrapper {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 900px;
    height: 80vh;
}

.modal-content {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 5100;
}

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

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    pointer-events: none;
}

.nav-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

@media only screen and (max-width: 700px){
    .modal-content-wrapper {
        width: 100%;
    }
    .nav-btn {
        padding: 10px 15px;
        font-size: 18px;
    }
}
