/* Light Mode */
.notice {
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    overflow: hidden;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.03);
    margin-top: 10px;
    margin-bottom: 10px;
}

.notice-header {
    display: flex;
    align-items: center;
    padding: 0px 5px;
    color: #000; /* Darker text color for better visibility */
    font-weight: 500;
}

.notice-icon {
    flex-shrink: 0;
    width: 24px;
    font-size: 1.3em;
    margin-right: 10px;
    margin-left: 5px;
}

.notice-title {
    font-weight: bold;
    text-transform: capitalize;
}

.notice-content {
    padding: 15px 20px;
    color: #333; /* Darker text color for better visibility */
    line-height: 1.5;
    border-top: 1px solid #e2e2e2; /* Softer border color */
}

.notice.note .notice-header {
    background-color: #c0c8e1; /* Muted shade of blue */
}
.notice.note .notice-content {
    background-color: #e2e4f1;  /* Lighter shade of #c0c8e1 */
}

.notice.info .notice-header {
    background-color: #b8d6c3; /* Muted shade of green */
}
.notice.info .notice-content {
    background-color: #e1ede5;  /* Lighter shade of #b8d6c3 */
}

.notice.tip .notice-header {
    background-color: #f3dcb2; /* Muted shade of yellow */
}
.notice.tip .notice-content {
    background-color: #fef5e0;  /* Lighter shade of #f3dcb2 */
}

.notice.warning .notice-header {
    background-color: #f7b3b3; /* Muted shade of red */
}
.notice.warning .notice-content {
    background-color: #fdf2f2;  /* Lighter shade of #f7b3b3 */
}

/* Dark Mode */
.dark .notice {
    border: 1px solid #33343d;  /* Slightly darker border */
    border-radius: 6px;
    font-size: 1em;
    overflow: hidden;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);  /* Reduced shadow */
}

.dark .notice-header {
    display: flex;
    align-items: center;
    padding: 0px 5px;
    color: #cbd5e0;  /* Slightly dimmed text color */
    font-weight: 500;
}

.dark .notice-icon {
    flex-shrink: 0;
    width: 24px;
    font-size: 1.3em;
    margin-right: 10px;
}

.dark .notice-title {
    font-weight: bold;
    text-transform: capitalize;
}

.dark .notice-content {
    padding: 15px 20px;
    color: #e2e8f0;
    line-height: 1.5;
    border-top: 1px solid #33343d;  /* Slightly darker border-top */
    background-color: #1a1c23;  /* Closer to typical dark mode background */
}

.dark .notice.note .notice-header {
    background-color: #4b5175;  /* More muted shade */
}
.dark .notice.note .notice-content {
    background-color: #2e3141;  /* Closer to dark mode background */
}

.dark .notice.info .notice-header {
    background-color: #2d6f58;  /* More muted shade */
}
.dark .notice.info .notice-content {
    background-color: #1f4a3c;  /* Closer to dark mode background */
}

.dark .notice.tip .notice-header {
    background-color: #a15d2a;  /* More muted shade */
}
.dark .notice.tip .notice-content {
    background-color: #703f1a;  /* Closer to dark mode background */
}

.dark .notice.warning .notice-header {
    background-color: #a74342;  /* More muted shade */
}
.dark .notice.warning .notice-content {
    background-color: #702a29;  /* Closer to dark mode background */
}
