:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #8a8a9e;
    --border-color: #e8e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    min-height: 100vh;
    padding-bottom: 80px;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.card-header::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    flex-shrink: 0;
}

.archive-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px;
}

.archive-left {
    display: flex;
    align-items: center;
}

.archive-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.archive-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.top-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.top-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.top-action-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: scale(1.08);
}

.top-action-btn:active {
    transform: scale(0.92);
}

.archive-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.archive-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.archive-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(99, 102, 241, 0.45);
}

.archive-icon svg {
    width: 28px;
    height: 28px;
}

.archive-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.8px;
}

.archive-count {
    text-align: right;
}

.archive-count-num {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.archive-count-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.action-buttons {
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 12px;
    border-radius: var(--radius-lg);
    width: 100%;
    justify-content: center;
}

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

.action-btn:hover {
    background: rgba(0, 0, 0, 0.03);
}

.action-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.action-circle:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.action-circle.reminder {
    background: linear-gradient(135deg, #f43f5e, #fb923c);
}

.action-circle.search {
    background: linear-gradient(135deg, #06b6d4, #22c55e);
}

.action-circle svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
}

.action-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.search-bar {
    padding: 12px 16px;
    margin-bottom: 8px;
    animation: slideDown 0.3s ease;
}

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

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-input-wrapper svg {
    color: var(--text-muted);
    margin-right: 10px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.category-row-wrapper {
    overflow: hidden;
    position: relative;
}

.category-row-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, var(--bg-color));
    pointer-events: none;
    z-index: 1;
}

.category-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.category-row::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    width: 96px;
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    padding: 16px 8px;
    cursor: pointer;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    position: relative;
}

.category-item:active {
    transform: scale(0.95);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.06);
}

.category-item:hover {
    background: #eef2ff;
    border-color: rgba(99, 102, 241, 0.2);
}

.category-item .category-color {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.category-item .category-color::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.category-item .category-color svg {
    position: relative;
    z-index: 1;
}

.category-item:hover .category-color {
    transform: scale(1.1);
}

.category-item .category-name {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-item .category-count {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

.item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-row {
    display: flex;
    align-items: center;
    padding: 18px;
    cursor: pointer;
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.item-row:active {
    background: #eef2ff;
    transform: scale(0.98);
    border-color: rgba(99, 102, 241, 0.2);
}

.item-row:hover {
    background: #f0f4ff;
}

.item-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.item-icon svg {
    width: 24px;
    height: 24px;
}

.item-image {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    margin-right: 18px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
}

.shared-badge {
    font-size: 11px;
    color: #6366f1;
    background: #e0e7ff;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-location {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-location::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--text-muted);
    border-radius: 50%;
}

.item-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.item-row:hover .item-arrow {
    transform: translateX(4px);
}

.item-arrow svg {
    width: 20px;
    height: 20px;
}

.navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.06);
    padding: 8px 0 16px;
    z-index: 1000;
    border-top: 1px solid var(--border-color);
}

.navbar-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.25s ease;
    padding: 6px 20px;
    border-radius: var(--radius-lg);
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active .nav-icon {
    transform: scale(1.15);
}

.nav-item.active .nav-text {
    font-weight: 600;
}

.nav-icon {
    transition: transform 0.25s ease;
    position: relative;
}

.nav-icon svg {
    width: 26px;
    height: 26px;
}

.nav-text {
    font-size: 11px;
    font-weight: 500;
}

.stats-row {
    display: flex;
    gap: 12px;
}

.stat-card {
    flex: 1;
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    padding: 18px 12px;
    text-align: center;
    transition: all 0.25s ease;
}

.stat-card:hover {
    background: #f0f4ff;
}

.stat-card.add-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card.add-btn:active {
    transform: scale(0.95);
}

.stat-card.add-btn:hover {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.45);
    transform: translateY(-2px);
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-card.add-btn .stat-num {
    color: white;
    font-size: 32px;
}

.stat-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

.stat-card.add-btn .stat-text {
    color: rgba(255, 255, 255, 0.9);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-manage-item {
    display: flex;
    align-items: center;
    padding: 18px;
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    transition: all 0.25s ease;
    border: 1px solid transparent;
    position: relative;
}

.category-manage-item:active {
    background: #f0f4ff;
    border-color: rgba(99, 102, 241, 0.2);
}

.category-manage-link {
    display: flex;
    align-items: center;
    flex: 1;
    text-decoration: none;
}

.category-manage-delete {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    color: #ef4444;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.category-manage-delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

.category-manage-delete:active {
    transform: scale(0.95);
}

.category-manage-color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 18px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.category-manage-color::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.category-manage-name {
    flex: 1;
    font-size: 17px;
    color: var(--text-primary);
    font-weight: 600;
}

.category-manage-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.add-category-btn {
    width: 100%;
    padding: 18px;
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    border: none;
    font-size: 16px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    font-weight: 600;
    border: 2px dashed var(--border-color);
}

.add-category-btn:active {
    background: #f0f4ff;
    transform: scale(0.98);
    border-color: var(--primary-color);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 440px;
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.login-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.login-icon svg {
    width: 32px;
    height: 32px;
}

.login-input-wrapper {
    position: relative;
}

.login-input-wrapper svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.modal-input {
    width: 100%;
    padding: 16px 16px 16px 44px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.25s ease;
    background: var(--bg-color);
}

.modal-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    background: var(--card-bg);
}

.modal-buttons {
    display: flex;
    gap: 14px;
}

.modal-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 600;
}

.modal-btn.cancel {
    background: var(--bg-color);
    color: var(--text-secondary);
}

.modal-btn.cancel:active {
    background: #eef2ff;
}

.modal-btn.confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.modal-btn.confirm:active {
    transform: scale(0.97);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.page-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    z-index: 100;
}

.back-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.back-btn:active {
    background: #eef2ff;
    transform: scale(0.92);
}

.back-btn:hover {
    background: #f0f4ff;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.header-placeholder {
    width: 44px;
}

.detail-main-card {
    padding: 32px;
    margin-top: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.4);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.detail-main-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.detail-main-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.detail-main-card .card-header {
    display: none;
}

.detail-avatar-row {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.detail-avatar {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.detail-avatar:hover {
    transform: scale(1.05);
}

.detail-avatar svg {
    width: 44px;
    height: 44px;
}

.detail-title-section {
    flex: 1;
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.detail-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-date-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.detail-category-tag {
    font-size: 12px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.detail-info-card {
    padding: 24px;
    border-radius: var(--radius-xl);
}

.detail-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.detail-info-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

.detail-info-row:last-child {
    border-bottom: none;
}

.detail-info-row:hover {
    background: rgba(99, 102, 241, 0.03);
}

.detail-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.detail-info-row:hover .detail-info-icon {
    transform: scale(1.1);
}

.detail-info-icon.reminder-icon {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #ef4444;
}

.detail-info-icon.location-icon {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0ea5e9;
}

.detail-info-icon.desc-icon {
    background: linear-gradient(135deg, #fdf4ff, #fae8ff);
    color: #a855f7;
}

.detail-info-icon.quantity-icon {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #22c55e;
}

.detail-info-content {
    flex: 1;
}

.detail-info-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.detail-info-value {
    font-size: 17px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
}

.detail-reminder-card {
    padding: 24px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-radius: var(--radius-xl);
}

.detail-reminder-card .detail-section-title {
    color: #dc2626;
}

.detail-reminder-card .detail-section-title::before {
    background: #ef4444;
}

.detail-action-area {
    display: flex;
    gap: 16px;
    margin: 24px 0 36px;
}

.detail-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.detail-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.detail-action-btn:active {
    transform: scale(0.97);
}

.detail-action-btn.delete-btn {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.detail-action-btn.delete-btn:hover {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

.detail-action-btn.edit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.detail-action-btn.edit-btn:hover {
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.45);
    transform: translateY(-2px);
}

.image-upload {
    margin-top: 8px;
}

.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--bg-color);
    position: relative;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.04);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
    transform: scale(1.02);
}

.upload-input {
    display: none;
}

.upload-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
    transition: transform 0.3s ease;
}

.upload-area:hover .upload-icon {
    transform: scale(1.1) rotate(90deg);
}

.upload-icon svg {
    width: 32px;
    height: 32px;
}

.upload-text {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 13px;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.form-input, .form-select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 16px;
    outline: none;
    transition: all 0.25s ease;
    background: var(--bg-color);
    font-family: inherit;
}

.form-input:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    background: var(--card-bg);
}

.form-input::placeholder, .form-select::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 16px;
    outline: none;
    transition: all 0.25s ease;
    min-height: 130px;
    resize: vertical;
    background: var(--bg-color);
    font-family: inherit;
    line-height: 1.6;
}

.form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    background: var(--card-bg);
}

.form-textarea::placeholder {
    color: var(--text-muted);
}

.reminder-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.toggle-label {
    font-size: 17px;
    color: var(--text-primary);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: var(--radius-full);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.save-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 24px;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.35);
    position: relative;
    overflow: hidden;
}

.save-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.save-btn:hover::before {
    left: 100%;
}

.save-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.45);
}

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

.modal-icon {
    text-align: center;
    margin-bottom: 20px;
}

.modal-icon.warning {
    color: #f59e0b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.modal-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.7;
}

.reminder-summary {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 0;
}

.reminder-stat {
    text-align: center;
    flex: 1;
}

.reminder-stat-num {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.reminder-stat-num.all {
    color: var(--primary-color);
}

.reminder-stat-num.upcoming {
    color: #f59e0b;
}

.reminder-stat-num.expired {
    color: #ef4444;
}

.reminder-stat-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

.reminder-divider {
    width: 1px;
    height: 48px;
    background: var(--border-color);
}

.reminder-tabs {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: var(--bg-color);
    border-radius: var(--radius-xl);
}

.reminder-tab {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
}

.reminder-tab.active {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.reminder-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reminder-item {
    display: flex;
    align-items: center;
    padding: 18px;
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.reminder-item:active {
    background: #f0f4ff;
    border-color: rgba(99, 102, 241, 0.2);
}

.reminder-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.reminder-icon svg {
    width: 24px;
    height: 24px;
}

.reminder-info {
    flex: 1;
    min-width: 0;
}

.reminder-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reminder-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.reminder-category {
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.reminder-repeat {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.reminder-date {
    text-align: right;
    flex-shrink: 0;
    margin-left: 12px;
}

.reminder-date-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.reminder-days {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.reminder-days.upcoming {
    color: #f59e0b;
}

.reminder-days.expired {
    color: #ef4444;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    opacity: 0.4;
    margin-bottom: 16px;
}

.empty-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info {
    flex: 1;
}

.setting-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.setting-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-input {
    width: 70px;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 16px;
    text-align: center;
    outline: none;
    transition: all 0.25s ease;
    background: var(--bg-color);
    font-weight: 600;
}

.setting-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    background: var(--card-bg);
}

.setting-unit {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.item-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-right: 12px;
    flex-shrink: 0;
}

.category-manage-arrow {
    margin-left: auto;
    color: var(--text-muted);
}

.category-item.active {
    background: #eef2ff;
    border-color: var(--primary-color);
}

.category-item.active .category-name {
    color: var(--primary-color);
}

.detail-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.upload-preview {
    text-align: center;
    margin-bottom: 20px;
}

.preview-image {
    max-width: 150px;
    max-height: 150px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 3px solid rgba(99, 102, 241, 0.2);
}

.preview-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .card {
        padding: 16px;
    }

    .category-item {
        width: 88px;
        padding: 14px 6px;
    }

    .category-item .category-color {
        width: 44px;
        height: 44px;
    }

    .detail-avatar {
        width: 80px;
        height: 80px;
    }

    .detail-avatar svg {
        width: 36px;
        height: 36px;
    }

    .detail-title {
        font-size: 26px;
    }

    .detail-main-card {
        padding: 24px;
    }

    .archive-icon {
        width: 48px;
        height: 48px;
    }

    .archive-icon svg {
        width: 24px;
        height: 24px;
    }

    .archive-name {
        font-size: 20px;
    }

    .archive-count-num {
        font-size: 32px;
    }

    .action-circle {
        width: 68px;
        height: 68px;
    }

    .action-circle svg {
        width: 26px;
        height: 26px;
    }

    .form-input, .form-select, .form-textarea {
        padding: 14px;
    }

    .save-btn {
        padding: 16px;
    }
}

.profile-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    margin-top: 16px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

.profile-card:active {
    transform: scale(0.98);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

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

.profile-avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-details {
    flex: 1;
}

.profile-nickname {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-count {
    font-size: 14px;
    opacity: 0.9;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 0;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    color: var(--border-color);
    font-size: 16px;
}

.menu-list {
    padding: 8px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:active {
    background: rgba(99, 102, 241, 0.05);
}

.menu-item.logout .menu-text,
.menu-item.logout .menu-icon {
    color: #ef4444;
}

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    color: white;
    flex-shrink: 0;
}

.menu-icon.share {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.menu-icon.feedback {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.menu-icon.about {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.menu-icon.migrate {
    background: linear-gradient(135deg, #10b981, #059669);
}

.menu-icon.logout {
    background: rgba(239, 68, 68, 0.1);
}

.menu-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.menu-arrow {
    color: var(--text-muted);
}

.share-code-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
}

.share-code-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.share-code-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
}

.share-code-title {
    font-size: 16px;
    font-weight: 600;
    color: #92400e;
}

.share-code-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 12px;
}

.share-code-value {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-primary);
    font-family: monospace;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.share-code-tips {
    font-size: 13px;
    color: #b45309;
}

.permission-options {
    display: flex;
    gap: 12px;
}

.permission-option {
    flex: 1;
    cursor: pointer;
}

.permission-option input[type="radio"] {
    display: none;
}

.permission-card {
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.25s ease;
}

.permission-option input[type="radio"]:checked + .permission-card {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.permission-card.write {
    border-color: #10b981;
}

.permission-card.read {
    border-color: #6b7280;
}

.permission-option input[type="radio"]:checked + .permission-card.write {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.permission-option input[type="radio"]:checked + .permission-card.read {
    background: rgba(107, 114, 144, 0.1);
    border-color: #6b7280;
}

.permission-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.permission-card.write .permission-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.permission-card.read .permission-icon {
    background: rgba(107, 114, 144, 0.2);
    color: #6b7280;
}

.permission-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.permission-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.partner-list {
    padding: 8px 0;
}

.partner-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.partner-item:last-child {
    border-bottom: none;
}

.partner-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    overflow: hidden;
    color: var(--text-muted);
}

.partner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-info {
    flex: 1;
}

.partner-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.partner-permission {
    font-size: 13px;
}

.partner-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.partner-action:hover {
    background: rgba(239, 68, 68, 0.2);
}

.fab-btn {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.55);
}

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

.fab-btn svg {
    width: 26px;
    height: 26px;
}

.add-type-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.add-type-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.add-type-card:hover {
    background: #f0f4ff;
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.add-type-card:active {
    transform: scale(0.98);
}

.add-type-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.add-type-icon.manual {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.add-type-icon.card {
    background: linear-gradient(135deg, #10b981, #84cc16);
}

.add-type-icon svg {
    width: 24px;
    height: 24px;
}

.add-type-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.add-type-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.reminder-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.toggle-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.type-options {
    display: flex;
    gap: 12px;
}

.type-option {
    flex: 1;
    cursor: pointer;
}

.type-option input[type="radio"] {
    display: none;
}

.type-card {
    padding: 16px 12px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.25s ease;
}

.type-option input[type="radio"]:checked + .type-card {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.type-card.bug {
    color: #ef4444;
}

.type-card.feature {
    color: #10b981;
}

.type-card.other {
    color: #6b7280;
}

.type-card span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
}

.feedback-list {
    padding: 8px 0;
}

.feedback-item {
    padding: 16px;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}

.feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.feedback-type {
    font-size: 13px;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.feedback-status {
    font-size: 12px;
    color: #f59e0b;
}

.feedback-status.resolved {
    color: #10b981;
}

.feedback-content {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.feedback-time {
    font-size: 12px;
    color: var(--text-muted);
}

.feedback-reply {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.reply-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.reply-content {
    font-size: 14px;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
    padding: 10px;
    border-radius: var(--radius-sm);
}

.empty-state {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
}

.empty-state svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 15px;
    margin-bottom: 4px;
}

.empty-tips {
    font-size: 13px !important;
    color: var(--text-muted);
}