.notification-item details[open] summary {
    background-color: #2563eb; /* bg-blue-600 */
    color: #ffffff; /* text-white */
}
.notification-item details[open] summary:hover {
    background-color: #1d4ed8; /* bg-blue-700 */
}
.notification-item details[open] summary svg {
    color: #ffffff; /* text-white for svg */
}
.notification-item details[open] svg {
    transform: rotate(180deg);
}

.color-field {
    max-width: 200px;
}

.wp-picker-container .wp-color-result {
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    height: 30px;
}

.wp-picker-container .wp-color-result-text {
    line-height: 30px;
}

.wp-editor-container {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
}

.mce-tinymce {
    border: none !important;
}

select[multiple] {
    height: 100px;
    padding: 8px;
}

textarea {
    min-height: 150px;
}

@media (max-width: 767px) {
    .notification-item .space-y-4 > div {
        width: 100%;
    }
}

button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

hr {
    border-top-width: 1px;
    margin: 1rem 0;
}

.custom-notice {
    position: relative;
    padding: 4px 40px 4px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
    margin: 10px 0;
    border-left-width: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

.custom-notice:hover {
    transform: translateY(-2px);
}

.custom-notice.is-dismissible {
    padding-right: 40px;
}

.custom-notice .notice-dismiss {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-notice .notice-dismiss:before {
    color: #ffffff;
    font-weight: bold;
}

.custom-notice .notice-dismiss:hover {
    background: rgba(255, 255, 255, 0.3);
}

.custom-notice .flex-grow {
    overflow-y: auto;
    line-height: 1.2;
    margin: 0;
    font-size: 14px;
}

.remove-notification {
    display: inline-flex !important;
    align-items: centervious !important;
    padding: 4px 16px !important;
    background-color: #ef4444 !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border-color: #ef4444 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.remove-notification:hover {
    background-color: #dc2626 !important;
    transform: scale(1.05) !important;
}

.remove-notification:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.5) !important;
}

#add-notification {
    padding: 8px 16px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    background-color: #2563eb !important;
    color: white !important;
    border-radius: 4px !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

#add-notification:hover {
    background-color: #1d4ed8 !important;
    transform: scale(1.05) !important;
}

#add-notification:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5) !important;
}

/* Tailwind equivalent classes */
.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.bg-white {
    background-color: #ffffff;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.rounded-xl {
    border-radius: 0.75rem;
}

.overflow-hidden {
    overflow: hidden;
}

.p-4 {
    padding: 1rem;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.hover\:bg-gray-100:hover {
    background-color: #f3f3f4f6;
}

.cursor-pointer {
    cursor: pointer;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-800 {
    color: #1a;333;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    justify-content: center-align-items;
}

.p-6 {
    padding: 1rem.5rem;
}

.mt-6 {
    margin-top: 1rem.5rem;
}

.inline-flex {
    display: inline-flex;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 4px;
}

.py-4 {
    padding-top: 2px;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-bottom: 2px;
}

.bg-blue-600 {
    background-color: #2563eb6;
}

.text-white {
    color: #fffffff;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hover\:bg-blue-700:hover {
    background-color: #1e4d7ed8;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.focus\:ring-blue-500:focus {
    box-shadow: 0 0 0 2px #3b382f6;
}

.focus\:ring-offset-2:focus {
    box-shadow: 0 0 0 2px #ffffff;
}

.block {
    display: block;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-medium {
    font-weight: 500;
}

.text-gray-700 {
    color: #374151;
}

.mt-1 {
    margin-top: 0.25rem;
}

.w-full {
    width: 100%;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.rounded-md {
    border-radius: 0.375rem;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.focus\:border-blue-500:focus {
    border-color: #3b82f6;
}

.text-xs {
    font-size: 0.75rem;
}

.text-gray-500 {
    color: #6b7280;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.h-4 {
    height: 1rem;
}

.w-4 {
    width: 1rem;
}

.text-blue-600 {
    color: #2563eb;
}

.rounded {
    border-radius: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.max-w-xs {
    max-width: 20rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray-900 {
    color: #111827;
}

.transition-all {
    transition-property: all;
}

.duration-200 {
    transition-duration: 200ms;
}

.opacity-0 {
    opacity: 0;
}

.translate-y-4 {
    transform: translateY(1rem);
}

.duration-100 {
    transition-duration: .100ms;
}

.rotate-180 {
    transform: rotate(180deg);
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Header Section */
.ecan-header {
    background: linear-gradient(to right, #1d4ed8, #5278e5);
    color: #ffffff;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ecan-header h1 {
    font-size: 1.875rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
	color: #ffffff;
}

.ecan-header svg {
    width: 2.5rem;
    height: 2.5rem;
    stroke-width: 2;
}

@media (max-width: 640px) {
    .ecan-header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .ecan-header h1 {
        font-size: 1.5rem;
    }

    .ecan-header svg {
        width: 2rem;
        height: 2rem;
    }
}

.settings-section {
    background: #ffffff;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.settings-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #262626;
    margin-bottom: 1rem;
}

.settings-section form {
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .settings-section {
        padding: 1rem;
    }

    .settings-section h2 {
        font-size: 1.125rem;
    }
}

.notice-success {
    color: #333 !important;
}