/**
 * Currency Kit - Admin Styles
 * Version: 3.0.0
 */

/* Admin Menu Icon Styling */
#adminmenu .toplevel_page_currency-converter-widget-kit .wp-menu-image img {
    opacity: 1;
    width: 20px;
    height: 20px;
    padding: 7px 0 0 0 !important;
}

#adminmenu .toplevel_page_currency-converter-widget-kit:hover .wp-menu-image img,
#adminmenu .toplevel_page_currency-converter-widget-kit.wp-has-current-submenu .wp-menu-image img {
    opacity: 1;
}

/* Admin Wrapper */
.cwc-admin-wrap {
    max-width: 1400px;
    margin: 20px auto 40px;
    padding: 0 20px;
}

/* Review Notice Bar */
.cwc-review-notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #fde047;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    animation: cwc-slide-down 0.3s ease-out;
}

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

.cwc-review-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cwc-review-icon {
    font-size: 28px;
    line-height: 1;
}

.cwc-review-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cwc-review-text strong {
    font-size: 14px;
    color: #854d0e;
}

.cwc-review-text span {
    font-size: 13px;
    color: #a16207;
}

.cwc-review-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cwc-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cwc-review-btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.cwc-review-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.cwc-review-btn-secondary {
    background: #fff;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.cwc-review-btn-secondary:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #9ca3af;
}

.cwc-review-dismiss {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #9ca3af;
    transition: all 0.2s;
}

.cwc-review-dismiss:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #6b7280;
}

.cwc-review-dismiss .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

@media (max-width: 782px) {
    .cwc-review-notice {
        flex-direction: column;
        text-align: center;
    }

    .cwc-review-content {
        flex-direction: column;
    }

    .cwc-review-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Header */
.cwc-admin-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.cwc-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cwc-logo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
}

.cwc-header-text h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 4px;
    padding: 0;
}

.cwc-header-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.cwc-header-actions {
    display: flex;
    gap: 12px;
}

.cwc-header-actions .button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.2s;
}

.cwc-header-actions .button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.cwc-header-actions .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Main Content Layout */
.cwc-admin-content {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1400px) {
    .cwc-admin-content {
        grid-template-columns: 1fr 420px;
    }
}

@media (max-width: 1200px) {
    .cwc-admin-content {
        grid-template-columns: 1fr;
    }
}

/* Preview Container */
.cwc-preview-container {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    min-height: 400px;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

/* Cards */
.cwc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.cwc-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.cwc-card-header h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    padding: 0;
}

.cwc-card-header .dashicons {
    color: #3b82f6;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.cwc-card-body {
    padding: 20px;
}

/* Quick Presets */
.cwc-quick-presets {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

@media (max-width: 900px) {
    .cwc-quick-presets {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cwc-preset-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.cwc-preset-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.cwc-preset-btn.active {
    border-color: #3b82f6;
    background: #eff6ff;
}

.preset-icon {
    font-size: 24px;
}

.preset-name {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

/* Style Grid */
.cwc-style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 900px) {
    .cwc-style-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cwc-style-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.cwc-style-option:hover {
    border-color: #93c5fd;
    background: #f0f9ff;
}

.cwc-style-option.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

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

.style-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 10px;
    margin-bottom: 8px;
}

.cwc-style-option.selected .style-icon {
    background: #dbeafe;
}

.style-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #6b7280;
}

.cwc-style-option.selected .style-icon .dashicons {
    color: #2563eb;
}

.style-name {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 2px;
}

.style-desc {
    font-size: 11px;
    color: #9ca3af;
}

/* Form Elements */
.cwc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .cwc-form-row {
        grid-template-columns: 1fr;
    }
}

.cwc-form-group {
    display: flex;
    flex-direction: column;
}

.cwc-form-group > label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.cwc-form-group select,
.cwc-form-group input[type="text"],
.cwc-form-group input[type="number"] {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.cwc-form-group select:focus,
.cwc-form-group input[type="text"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Theme Options */
.cwc-theme-options {
    display: flex;
    gap: 12px;
}

.cwc-theme-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    justify-content: center;
}

.cwc-theme-option:hover {
    border-color: #93c5fd;
}

.cwc-theme-option.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

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

.cwc-theme-option .dashicons {
    color: #6b7280;
}

.cwc-theme-option.selected .dashicons {
    color: #2563eb;
}

/* Color Options */
.cwc-color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cwc-color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid transparent;
}

.cwc-color-option:hover {
    transform: scale(1.1);
}

.cwc-color-option.selected {
    border-color: #1f2937;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor;
}

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

/* Checkbox Grid */
.cwc-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .cwc-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.cwc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f9fafb;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 13px;
    color: #374151;
}

.cwc-checkbox-label:hover {
    background: #f3f4f6;
}

.cwc-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

/* Range Input */
input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Submit Row */
.cwc-submit-row {
    margin-top: 24px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    text-align: center;
}

.cwc-submit-row .button-primary {
    padding: 12px 32px;
    font-size: 15px;
    height: auto;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.cwc-submit-row .button-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

/* Preview Panel */
.cwc-preview-panel {
    position: sticky;
    top: 32px;
}

.cwc-preview-panel .cwc-card-body {
    display: flex;
    justify-content: center;
}

.cwc-preview-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: #f3f4f6;
    border-radius: 12px;
    min-height: 300px;
}

/* Shortcode Box */
.cwc-shortcode-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #1f2937;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cwc-shortcode-box code {
    flex: 1;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    color: #10b981;
    background: none;
    padding: 0;
}

.cwc-copy-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.cwc-copy-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Shortcode Examples */
.cwc-shortcode-examples {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
}

.cwc-shortcode-examples h4 {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 12px;
}

.cwc-example {
    margin-bottom: 10px;
}

.cwc-example:last-child {
    margin-bottom: 0;
}

.cwc-example label {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 4px;
}

.cwc-example code {
    display: block;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 12px;
    color: #374151;
    font-family: 'Monaco', 'Consolas', monospace;
}

/* Info Text */
.cwc-info-text {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 16px;
}

/* Steps */
.cwc-steps {
    margin: 0;
    padding-left: 20px;
}

.cwc-steps li {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 8px;
    padding-left: 4px;
}

/* Support Card */
.cwc-support-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: none;
}

.cwc-support-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cwc-support-content > .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #d97706;
}

.cwc-support-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 4px;
}

.cwc-support-content p {
    font-size: 13px;
    color: #a16207;
    margin: 0 0 12px;
}

.cwc-support-content .button {
    background: #d97706;
    color: #fff;
    border: none;
    border-radius: 6px;
}

.cwc-support-content .button:hover {
    background: #b45309;
    color: #fff;
}

/* Sticky Card */
.cwc-sticky {
    position: sticky;
    top: 32px;
}

/* Toggle Switch */
.cwc-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

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

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

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

.cwc-toggle-switch input:checked + .cwc-toggle-slider {
    background-color: #2563eb;
}

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

/* Responsive */
@media (max-width: 782px) {
    .cwc-admin-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cwc-header-content {
        flex-direction: column;
    }

    .cwc-header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Searchable Currency Dropdowns */
.cwc-searchable-dropdown {
    position: relative;
    width: 100%;
}

.cwc-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    text-align: left;
}

.cwc-dropdown-toggle:hover {
    border-color: #93c5fd;
}

.cwc-dropdown-toggle:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.cwc-searchable-dropdown.open .cwc-dropdown-toggle {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cwc-selected-currency {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cwc-selected-currency .cwc-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.cwc-selected-currency .cwc-code {
    font-weight: 600;
    color: #1f2937;
}

.cwc-selected-currency .cwc-name {
    color: #6b7280;
    font-size: 13px;
}

.cwc-chevron {
    color: #9ca3af;
    transition: transform 0.2s;
}

.cwc-searchable-dropdown.open .cwc-chevron {
    transform: rotate(180deg);
}

.cwc-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cwc-search-wrapper {
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.cwc-currency-search {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background: #f9fafb;
    transition: all 0.2s;
}

.cwc-currency-search:focus {
    border-color: #3b82f6;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.cwc-currency-list {
    max-height: 280px;
    overflow-y: auto;
}

.cwc-currency-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.cwc-currency-item:hover {
    background: #f3f4f6;
}

.cwc-currency-item.selected {
    background: #eff6ff;
}

.cwc-currency-item .cwc-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.cwc-currency-item .cwc-code {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
    min-width: 40px;
}

.cwc-currency-item .cwc-name {
    color: #6b7280;
    font-size: 13px;
}

.cwc-currency-list::-webkit-scrollbar {
    width: 8px;
}

.cwc-currency-list::-webkit-scrollbar-track {
    background: #f9fafb;
}

.cwc-currency-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.cwc-currency-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Size Select Styles */
.cwc-size-select {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s;
}

.cwc-size-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Dropdown Preset Buttons */
.cwc-dropdown-preset {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}

.cwc-dropdown-preset:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.cwc-dropdown-preset.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

/* Currency Pills */
.cwc-currency-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cwc-currency-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.cwc-currency-pill:hover {
    border-color: #93c5fd;
    background: #f0f9ff;
}

.cwc-currency-pill.selected {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
    position: relative;
}

.cwc-currency-pill.selected::after {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    font-size: 10px;
    font-weight: bold;
    background: #3b82f6;
    color: #fff;
    border-radius: 50%;
}

.cwc-pill-flag {
    font-size: 14px;
}

.cwc-pill-code {
    font-weight: 600;
}

/* Floating Toast Notification */
.cwc-toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    max-width: 360px;
}

.cwc-toast-notification.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cwc-toast-notification.success {
    border-left: 4px solid #10b981;
}

.cwc-toast-notification.error {
    border-left: 4px solid #ef4444;
}

.cwc-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cwc-toast-notification.success .cwc-toast-icon {
    background: #d1fae5;
    color: #059669;
}

.cwc-toast-notification.error .cwc-toast-icon {
    background: #fee2e2;
    color: #dc2626;
}

.cwc-toast-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.cwc-toast-content {
    flex: 1;
}

.cwc-toast-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 2px;
}

.cwc-toast-message {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.cwc-toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: #9ca3af;
    transition: all 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.cwc-toast-close:hover {
    background: #f3f4f6;
    color: #4b5563;
}

.cwc-toast-close .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Hide WordPress default admin notices in our settings page */
.cwc-admin-wrap .notice,
.cwc-admin-wrap .updated,
.cwc-admin-wrap .error {
    display: none !important;
}

@media (max-width: 600px) {
    .cwc-toast-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}
