:root {
	--dsr-side-bg: #f9fbff;
	--ds-rgb-blue-100: 77, 107, 254;
	--note-container-width: 900px;
	--header-height: 50px;
	--footer-height: 140px;
}

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background-color: var(--dsr-side-bg);
	color: #333;
	overflow: hidden;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.sidebar-header h1 {
	cursor: pointer;
	transition: color 0.2s ease;
}

.sidebar-header h1:hover {
	color: #3a5bd9;
}

.sidebar-header h1:active {
	transform: scale(0.98);
}

.sidebar {
	width: 60px;
	background-color: var(--dsr-side-bg);
	color: #333;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	height: 100vh;
	overflow-y: auto;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1000;
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed {
	width: 60px;
}

.sidebar:not(.collapsed) {
	width: 250px;
}

.sidebar-header {
	padding: 0 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--header-height);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	position: relative;
	flex-shrink: 0;
	border-bottom: 1px solid #eee;
}

.sidebar-header h1 {
	margin: 0;
	font-size: 20px;
	color: #4d6bfe;
	transition: all 0.3s ease;
	opacity: 0;
	width: 0;
	height: 0;
	overflow: hidden;
}

.sidebar:not(.collapsed) .sidebar-header h1 {
	opacity: 1;
	width: auto;
	height: auto;
}

#toggleSidebar {
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: #4d6bfe;
	padding: 5px;
	z-index: 1;
}

.sidebar-menu {
	list-style: none;
	padding: 15px 0;
	margin: 0;

	overflow-y: auto;
	max-height: 60vh;
}

.sidebar-menu-bottom {
	list-style: none;
	padding: 5px 0;
	margin: 0;
	margin-top: auto;
	border-top: 1px solid #eee;
	flex-grow: 1;
}

.sidebar-menu li,
.sidebar-menu-bottom li {
	padding: 0 15px;
}

.sidebar-menu li a,
.sidebar-menu-bottom li a {
	color: #555;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 5px;
	border-radius: 5px;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.sidebar:not(.collapsed) .sidebar-menu li a,
.sidebar:not(.collapsed) .sidebar-menu-bottom li a {
	justify-content: flex-start;
	padding: 10px;
}

.sidebar-menu li a span,
.sidebar-menu-bottom li a span {
	transition: opacity 0.3s ease;
	opacity: 0;
	width: 0;
	height: 0;
	overflow: hidden;
	position: absolute;
}

.sidebar:not(.collapsed) .sidebar-menu li a span,
.sidebar:not(.collapsed) .sidebar-menu-bottom li a span {
	opacity: 1;
	width: auto;
	height: auto;
	position: static;
}

.sidebar-menu li a i,
.sidebar-menu-bottom li a i {
	margin-right: 10px;
	width: 20px;
	font-size: 18px;
	min-width: 20px;
	text-align: center;
}

.sidebar-menu li a.active,
.sidebar-menu-bottom li a.active {
	background-color: rgba(var(--ds-rgb-blue-100), 0.1);
	color: #4d6bfe;
	font-weight: 500;
}

.sidebar-menu li a.active i,
.sidebar-menu-bottom li a.active i {
	color: #4d6bfe;
}

.sidebar-menu li a:hover,
.sidebar-menu-bottom li a:hover {
	background-color: rgba(var(--ds-rgb-blue-100), 0.1);
	color: #4d6bfe;
}

.sidebar.collapsed .sidebar-menu li a span,
.sidebar.collapsed .sidebar-menu-bottom li a span {
	opacity: 0;
	width: 0;
	display: inline-block;
}

.main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	height: 100vh;
	margin-left: 60px;
	transition: margin-left 0.3s ease;
	position: relative;
	overflow: hidden;
}

.sidebar:not(.collapsed)+.main-content {
	margin-left: 250px;
}

.sidebar.collapsed+.main-content {
	margin-left: 60px;
}

.header-container {
	height: var(--header-height);
	flex-shrink: 0;
	position: sticky;
	top: 0;
	z-index: 100;
	background: white;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	width: 100%;
}

.header {
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	max-width: var(--note-container-width);
	margin: 0 auto;
	width: 100%;
}

.header .slogan {
	font-size: 16px;
	color: #666;
	font-style: italic;
}

.back-button {
	background: none;
	border: none;
	color: #4d6bfe;
	font-size: 20px;
	cursor: pointer;
	padding: 8px;
	border-radius: 50%;
	transition: all 0.3s ease;
	margin-right: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.back-button:hover {
	background-color: rgba(var(--ds-rgb-blue-100), 0.1);
	transform: translateX(-3px);
}

.content-wrapper {
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - var(--header-height) - var(--footer-height));
	padding: 20px;
	overflow-y: auto;
	top: var(--header-height);
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	box-sizing: border-box;
}

.content-wrapper::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.note-detail-container {
	width: 100%;
	max-width: var(--note-container-width);
	margin: 0 auto;
	padding: 20px;
	min-height: calc(100% - 40px);
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

#content-container {
	flex: 1;
	overflow-y: auto;
	padding: 5px 20px 40px;
	display: flex;
	justify-content: center;
}

#refreshBtn {
	position: fixed;
	bottom: 160px;
	left: calc(50% + 30px);
	transform: translateX(-50%);
	z-index: 1001;
	background-color: #4d6bfe;
	color: white;
	border: none;
	border-radius: 50px;
	padding: 12px 20px;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	max-width: var(--note-container-width);
	margin: 0 auto;
}

#refreshBtn i {
	font-size: 18px;
}

.sidebar:not(.collapsed)+.main-content #refreshBtn {
	left: calc(50% + 125px);
}

#refreshBtn:hover {
	background-color: #3a5bd9;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	animation: pulse 1.5s infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(58, 91, 217, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(58, 91, 217, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(58, 91, 217, 0);
	}
}

.note-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	padding: 20px;
	width: auto;
	max-width: var(--note-container-width);
	margin: 5px auto 15px;
}

.note {
	word-break: break-word;
	height: 150px;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
	font-size: 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	overflow: visible;
}

.pin-icon {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 24px;
	height: 24px;
	filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
	transition: all 0.3s ease;
	z-index: 1;
}

.note:hover .pin-icon {
	transform: rotate(15deg) scale(1.1);
	filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
}

.note:hover {
	transform: translateY(-3px);
	box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.15);
}

.note-color-1 {
	background-color: #f8f4ff;
}

.note-color-2 {
	background-color: #f0f7ff;
}

.note-color-3 {
	background-color: #f4fff4;
}

.note-color-4 {
	background-color: #fff8f0;
}

.note-color-5 {
	background-color: #fff0f5;
}

.note-color-6 {
	background-color: #f0ffff;
}

.note-color-7 {
	background-color: #fffaf0;
}

.note-color-8 {
	background-color: #f5f0ff;
}

.note-color-9 {
	background-color: #f0fff5;
}

.note-color-10 {
	background-color: #fff5f0;
}

.note-color-11 {
	background-color: #f0f5ff;
}

.note-color-12 {
	background-color: #fff0f0;
}

.footer {
	flex-shrink: 0;
	background-color: var(--dsr-side-bg);
	padding: 0 0 20px;
	display: flex;
	justify-content: center;
	width: 100%;
	padding-bottom: calc(60px + env(safe-area-inset-bottom));
}

.input-container {
	width: 100%;
	max-width: var(--note-container-width);
	padding: 0 20px;
	margin: 0;
	position: relative;
	border-radius: 12px;
	background: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	border: 1px solid #e0e4ff;
	transition: all 0.3s ease;
}

.input-container:focus-within {
	border-color: #4d6bfe;
	box-shadow: 0 4px 15px rgba(77, 107, 254, 0.15);
}

.footer textarea {
	flex-grow: 1;
	height: 80px;
	border: none;
	border-radius: 12px;
	padding: 15px 60px 15px 15px;
	font-size: 14px;
	resize: none;
	outline: none;
	background: transparent;
	width: 100%;
	box-sizing: border-box;
	line-height: 1.5;
}

.footer textarea::placeholder {
	color: #aaa;
	font-style: italic;
}

.footer textarea:focus {
	border-color: #4d6bfe;
}

.footer button:disabled {
	background-color: #cccccc;
	cursor: not-allowed;
	box-shadow: none;
}

.footer button:not(:disabled) {
	background-color: #4d6bfe;
	cursor: pointer;
}

.footer button:not(:disabled):hover {
	background-color: #3a5bd9;
	transform: translateY(-50%) scale(1.05);
}

.footer button {
	position: absolute;
	right: 35px;
	top: 50%;
	transform: translateY(-50%);
	padding: 8px 16px;
	border: none;
	border-radius: 50%;
	font-size: 14px;
	cursor: pointer;
	background-color: #4d6bfe;
	color: white;
	transition: all 0.2s ease;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(77, 107, 254, 0.3);
}

.footer button i {
	font-size: 16px;
}

.footer button:hover {
	background-color: #3a5bd9;
}

.note-detail {
	width: 100%;
	max-width: 600px;
}

.note-content {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	font-size: 16px;
	min-height: 200px;
	height: auto;
	overflow-wrap: break-word;
	word-break: break-word;
	position: relative;
	display: block;
	overflow: hidden;
	text-align: center;
	justify-content: center;
	flex-direction: column;
	display: flex;
	box-sizing: border-box;
}

.note-content-inner {
	width: 100%;
	white-space: pre-wrap;
	text-indent: 0;
}

.note-text {
	width: 100%;
	display: block;
}

.note-actions .unlike i {
	color: #ff4d4d !important;
	animation: heartBeat 0.8s ease;

}

.note-actions {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-top: 40px;
	width: 100%;
}

.note-actions .icon {
	cursor: pointer;
	padding: 10px 20px;
	border-radius: 20px;
	transition: all 0.3s ease;
	border: 1px solid rgba(var(--ds-rgb-blue-100), 0.3);
	color: #4d6bfe;
	display: flex;
	align-items: center;
	background-color: white;
	gap: 5px;
}

.note-actions .icon:hover {
	background-color: rgba(var(--ds-rgb-blue-100), 0.1);
	transform: translateY(-2px);
}

.note-actions .icon i {
	margin-right: 8px;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.modal-container {
	background: white;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	width: 90%;
	max-width: 400px;
	padding: 25px;
	text-align: center;
	transform: translateY(20px);
	transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
	transform: translateY(0);
}

.modal-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #333;
}

.modal-message {
	color: #666;
	margin-bottom: 25px;
	line-height: 1.5;
}

.modal-actions {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.modal-btn {
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	min-width: 100px;
}

.cancel-btn {
	background: #f0f0f0;
	color: #333;
}

.cancel-btn:hover {
	background: #e0e0e0;
}

.modal-btn-cancel {
	background: #f0f0f0;
	color: #333;
}

.modal-btn-cancel:hover {
	background: #e0e0e0;
}

.modal-btn-confirm {
	background: #4d6bfe;
	color: white;
}

.modal-btn-confirm:hover {
	background: #3a5bd9;
}

.confirm-btn {
	background: #ff4d4d;
	color: white;
}

.confirm-btn:hover {
	background: #e60000;
}

.modal-title i {
	margin-right: 10px;
}

.success-icon {
	color: #4CAF50;
	font-size: 48px;
	margin-bottom: 15px;
}

.modal-btn-success {
	background-color: #4CAF50 !important;
}

.modal-btn-success:hover {
	background-color: #3e8e41 !important;
}

.note-actions .delete {
	background-color: #ff4d4d !important;
	color: white !important;
	border-color: #ff4d4d !important;
}

.note-actions .delete:hover {
	background-color: #e60000 !important;
	transform: translateY(-2px);
}

.note-actions .delete i {
	color: white !important;
}

.like-count {
	font-weight: 500;
	margin-left: 5px;
	transition: transform 0.3s ease;
}

@keyframes heartBeat {
	0% {
		transform: scale(1);
	}

	14% {
		transform: scale(1.3);
	}

	28% {
		transform: scale(1);
	}

	42% {
		transform: scale(1.3);
	}

	70% {
		transform: scale(1);
	}
}

.like.liked i {
	color: #ff4d4d !important;
	animation: heartBeat 0.8s ease;
}

.like.liked .like-count {
	transform: scale(1.2);
}

.share-tooltip {
	position: fixed;
	bottom: 100px;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 10px 20px;
	border-radius: 20px;
	font-size: 14px;
	z-index: 1000;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.share-tooltip.show {
	opacity: 1;
}

.loading-spinner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: 60px;
	color: #4d6bfe;
}

.loading-spinner i {
	font-size: 36px;
	animation: spin 1s linear infinite;
}

.loading-spinner span {
	font-size: 16px;
}

.error-message {
	text-align: center;
	padding: 60px;
	color: #ff4d4d;
}

.error-message p {
	margin-bottom: 20px;
}

.error-message button {
	margin-top: 15px;
	padding: 8px 16px;
	background-color: #4d6bfe;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.error-message button:hover {
	background-color: #3a5bd9;
}

.no-notes {
	text-align: center;
	padding: 60px;
	color: #666;
	font-size: 16px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.header-title {
	font-size: 18px;
	font-weight: 500;
	color: #4d6bfe;
	margin-left: 15px;
	flex-grow: 1;
}

.legal-content {
	width: 100%;
	max-width: var(--note-container-width);
	margin: 0 auto;
	padding: 20px;
	overflow-x: hidden;
}

.legal-detail {
	width: 100%;
	padding: 40px;
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.legal-detail h1 {
	color: #4d6bfe;
	margin: 0 0 30px 0;
	text-align: center;
	font-size: 28px;
	font-weight: 600;
}

.legal-detail h2 {
	color: #4d6bfe;
	margin: 35px 0 20px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f0f2ff;
	font-size: 22px;
	font-weight: 500;
}

.legal-detail h3 {
	color: #555;
	margin: 28px 0 16px;
	font-size: 18px;
	font-weight: 500;
}

.legal-detail p,
.legal-detail li {
	margin-bottom: 16px;
	line-height: 1.6;
}

.legal-detail ul {
	padding-left: 24px;
	margin-bottom: 22px;
}

.legal-detail a {
	color: #4d6bfe;
	text-decoration: none;
}

.legal-detail a:hover {
	text-decoration: underline;
}

.faq-container {
	width: 100%;
	max-width: var(--note-container-width);
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

.faq-category {
	margin-bottom: 25px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-category-header {
	background-color: #f8f9ff;
	padding: 15px 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	font-weight: 500;
}

.faq-category-header i {
	margin-right: 10px;
	font-size: 18px;
}

.faq-category-header .toggle-icon {
	margin-left: auto;
	transition: transform 0.3s;
}

.faq-category.active .faq-category-header .toggle-icon {
	transform: rotate(180deg);
}

.faq-questions {
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.faq-category.active .faq-questions {
	max-height: 2000px;
}

.faq-item {
	padding: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-question {
	font-weight: 500;
	margin-bottom: 10px;
	color: #444;
	display: flex;
	align-items: flex-start;
}

.faq-question .q-icon {
	color: #4d6bfe;
	margin-right: 10px;
	margin-top: 3px;
}

.faq-answer {
	color: #666;
	line-height: 1.6;
	padding-left: 28px;
}

.faq-answer .tip {
	background-color: #f8f9ff;
	padding: 10px 15px;
	border-radius: 8px;
	margin-top: 10px;
	display: inline-block;
	font-style: italic;
}

.articles-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	width: 100%;
	max-width: var(--note-container-width);
	padding: 20px;
	margin: 0 auto;
	box-sizing: border-box;
}

.article-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.article-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.article-image {
	height: 180px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.article-content {
	padding: 20px;
}

.article-content h3 {
	margin: 0 0 15px 0;
	color: #4d6bfe;
	font-size: 18px;
	font-weight: 600;
}

.article-content p {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.read-more {
	color: #4d6bfe;
	font-weight: 500;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.read-more i {
	transition: transform 0.3s ease;
}

.article-card:hover .read-more i {
	transform: translateX(3px);
}

.article-detail {
	width: 100%;
	max-width: var(--note-container-width);
	margin: 0 auto;
}

.article-detail-container {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 30px 20px;
}

.article-header-image {
	width: 100%;
	height: 350px;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	margin-bottom: 30px;
}

.article-title {
	color: #4d6bfe;
	font-size: 28px;
	margin-bottom: 20px;
	font-weight: 600;
}

.article-content {
	color: #444;
	font-size: 16px;
}

.article-content p {
	margin-bottom: 20px;
}

.article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 15px 0;
}

.back-to-articles {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #4d6bfe;
	margin-bottom: 30px;
	font-weight: 500;
	cursor: pointer;
}

.back-to-articles i {
	transition: transform 0.3s ease;
}

.back-to-articles:hover i {
	transform: translateX(-3px);
}

.intro-text {
	background-color: #f8f9ff;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 25px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	line-height: 1.6;
	color: #555;
	font-size: 15px;
}

.intro-text p {
	margin-bottom: 10px;
}

.intro-text p:last-child {
	margin-bottom: 0;
}

@media (max-width: 992px) {
	:root {
		--note-container-width: 600px;
	}

	.note-container {
		grid-template-columns: repeat(2, minmax(200px, 1fr));
	}

	#refreshBtn {
		left: 50%;
		transform: translateX(-50%);
	}
}

@media (max-width: 768px) {
	:root {
		--note-container-width: 100%;
	}

	.note-container {
		grid-template-columns: 1fr;
		width: 100%;
		padding: 5px;
		margin-top: 5px;
	}

	.sidebar:not(.collapsed) {
		width: 250px;
	}

	.sidebar:not(.collapsed)+.main-content {
		margin-left: 250px;
	}

	#refreshBtn {
		left: calc(50% + 30px);
		transform: translateX(-50%);
		bottom: 160px;
		padding: 10px 16px;
	}

	.sidebar:not(.collapsed)+.main-content #refreshBtn {
		left: calc(50% + 125px);
	}

	#content-container {
		padding-bottom: 30px;
	}

	.header-title {
		font-size: 16px;
		margin-left: 10px;
	}

	.legal-content {
		padding: 15px;
	}

	.legal-detail {
		padding: 30px;
	}

	.legal-detail h1 {
		font-size: 24px;
	}

	.legal-detail h2 {
		font-size: 20px;
	}

	.faq-container {
		padding: 15px;
	}

	.faq-item {
		padding: 15px;
	}

	.faq-question {
		font-size: 15px;
	}

	.faq-answer {
		font-size: 14px;
	}

	.articles-container {
		grid-template-columns: 1fr;
		padding: 15px;
	}

	.article-header-image {
		height: 250px;
	}

	.article-title {
		font-size: 24px;
	}

	.footer textarea {
		padding: 12px 55px 12px 12px;
	}

	.footer button {
		right: 30px;
		width: 32px;
		height: 32px;
	}

	.footer button i {
		font-size: 15px;
	}

	.content-wrapper {
		padding: 15px;
	}

	.note-content {
		padding: 20px;
	}

	.note-actions {
		gap: 20px;
	}

	.intro-text {
		padding: 15px;
		margin-bottom: 20px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.note-container {
		margin-top: 5px;
		padding: 5px 0;
	}

	.note {
		height: 140px;
	}

	#refreshBtn {
		left: calc(50% + 30px);
		bottom: 160px;
		padding: 8px 14px;
		font-size: 13px;
	}

	.sidebar:not(.collapsed)+.main-content #refreshBtn {
		left: calc(50% + 125px);
	}

	#content-container {
		padding-bottom: 30px;
	}

	.footer textarea {
		height: 70px;
		padding: 10px 50px 10px 10px;
	}

	.footer button {
		right: 25px;
		padding: 6px 12px;
	}

	.footer button i {
		font-size: 14px;
	}

	.header-title {
		font-size: 15px;
		margin-left: 10px;
	}

	.loading-spinner,
	.error-message,
	.no-notes {
		padding: 40px 20px;
	}

	.legal-content {
		padding: 10px;
	}

	.legal-detail {
		padding: 20px 15px;
	}

	.legal-detail h1 {
		font-size: 22px;
	}

	.legal-detail h2 {
		font-size: 19px;
	}

	.legal-detail p,
	.legal-detail li {
		font-size: 15px;
	}

	.faq-container {
		padding: 10px;
	}

	.faq-item {
		padding: 12px 10px;
	}

	.faq-category-header {
		padding: 12px 15px;
	}

	.article-header-image {
		height: 200px;
	}

	.article-title {
		font-size: 22px;
	}

	.article-content {
		font-size: 15px;
	}

	.content-wrapper {
		padding: 10px;
	}

	.note-content {
		padding: 15px;
		font-size: 15px;
	}

	.note-actions {
		gap: 15px;
		margin-top: 30px;
	}

	.note-actions .icon {
		padding: 8px 15px;
		font-size: 14px;
	}

	.intro-text {
		padding: 12px 10px;
		margin-bottom: 15px;
		font-size: 13px;
		line-height: 1.5;
		border-radius: 6px;
	}

	.intro-text p {
		margin-bottom: 8px;
	}

	.faq-category-header {
		padding: 12px 10px !important;
	}

	.faq-category-header i:first-child {
		font-size: 16px !important;
	}

	.faq-category-header span {
		font-size: 14px !important;
	}

	.faq-question .q-icon {
		font-size: 13px !important;
	}

	.faq-question span:last-child {
		font-size: 14px !important;
	}

	.faq-answer {
		font-size: 13px !important;
		padding-left: 20px !important;
	}
}