/* Watermark My Images Frontend Styles */

.wmi-frontend-watermark {
    max-width: 1000px;
    margin: 20px 0;
    position: relative;
}

.wmi-info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.wmi-info-box h3 {
    margin: 0 0 5px 0;
    color: #1976D2;
}

.wmi-info-box p {
    margin: 0;
    color: #555;
}

.wmi-frontend-form {
    background: #fff;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wmi-section {
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

.wmi-section:last-child {
    border-bottom: none;
}

.wmi-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

/* Drop Zone */
.wmi-drop-zone {
    border: 3px dashed #ddd;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
    transition: all 0.3s;
    cursor: pointer;
}

.wmi-drop-zone:hover {
    border-color: #2196F3;
    background: #f0f8ff;
}

.wmi-drop-zone.drag-over {
    border-color: #2196F3;
    background: #e3f2fd;
}

.wmi-drop-zone .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #999;
    margin-bottom: 10px;
}

.wmi-drop-zone h3 {
    margin: 10px 0;
    color: #666;
}

.wmi-drop-zone p {
    color: #999;
    margin: 10px 0 20px;
}

/* Images Preview */
.wmi-images-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.wmi-preview-item {
    position: relative;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
}

.wmi-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wmi-preview-item .remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #d32f2f;
    opacity: 0;
    transition: opacity 0.2s;
}

.wmi-preview-item:hover .remove-image {
    opacity: 1;
}

/* Logo Upload */
.wmi-logo-upload {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wmi-logo-preview {
    width: 100px;
    height: 100px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f9f9f9;
}

.wmi-logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wmi-logo-preview .no-logo {
    color: #999;
    font-size: 13px;
    text-align: center;
}

/* Watermark Settings */
.wmi-watermark-settings {
    background: #f9f9f9;
}

.wmi-form-group {
    margin-bottom: 20px;
}

.wmi-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.wmi-position-grid {
    display: inline-grid;
    grid-template-columns: repeat(3, 60px);
    grid-template-rows: repeat(4, 60px);
    gap: 10px;
    margin-top: 10px;
}

.wmi-position-grid label {
    position: relative;
    cursor: pointer;
}

.wmi-position-grid input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.wmi-position-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 24px;
    transition: all 0.2s;
}

.wmi-position-grid input[type="radio"]:checked + span {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

.wmi-position-grid label:nth-child(1) { grid-column: 1; grid-row: 1; }
.wmi-position-grid label:nth-child(2) { grid-column: 2; grid-row: 1; }
.wmi-position-grid label:nth-child(3) { grid-column: 3; grid-row: 1; }
.wmi-position-grid label:nth-child(4) { grid-column: 2; grid-row: 2; }
.wmi-position-grid label:nth-child(5) { grid-column: 1; grid-row: 3; }
.wmi-position-grid label:nth-child(6) { grid-column: 3; grid-row: 3; }

.position-random {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 8px;
}

.position-random span {
    padding: 0 15px;
    font-size: 14px;
    text-align: center;
}

.position-random .dashicons {
    color: #4da6ff;
    margin-right: 5px;
    font-size: 16px;
}

/* Position box styles for NAP controls */
.position-option {
    position: relative;
    cursor: pointer;
}

.position-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    font-size: 20px;
    transition: all 0.2s;
}

.position-option input[type="radio"]:checked + .position-box {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

.position-box-wide {
    padding: 0 15px;
    font-size: 14px;
}

/* AI info text */
.wmi-ai-info .dashicons {
    color: #4da6ff;
    margin-right: 5px;
    font-size: 16px;
    vertical-align: middle;
}


/* Form Row */
.wmi-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Range Inputs */
.wmi-form-group input[type="range"] {
    width: 70%;
    vertical-align: middle;
}

.wmi-range-value {
    display: inline-block;
    min-width: 40px;
    font-weight: bold;
    margin-left: 10px;
}

/* Select Dropdown */
.wmi-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

.wmi-select:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

/* Buttons */
.wmi-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.wmi-btn-primary {
    background: #2196F3;
    color: white;
}

.wmi-btn-primary:hover {
    background: #1976D2;
}

.wmi-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.wmi-btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.wmi-btn-secondary:hover {
    background: #e0e0e0;
}

/* Form Actions */
.wmi-form-actions {
    padding: 20px 25px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.wmi-submit-btn {
    background: #2196F3;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.wmi-submit-btn:hover:not(:disabled) {
    background: #1976D2;
}

.wmi-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Spinner */
.wmi-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2196F3;
    border-radius: 50%;
    animation: wmi-spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes wmi-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress Bar */
.wmi-progress {
    margin: 20px 0;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.wmi-progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.wmi-progress-fill {
    height: 100%;
    background: #2196F3;
    transition: width 0.3s ease;
    width: 0%;
}

.wmi-progress-text {
    text-align: center;
    color: #666;
    margin: 0;
}

/* Results */
.wmi-results {
    margin-top: 30px;
}

.wmi-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.wmi-results-header h3 {
    margin: 0;
    color: #333;
}

.wmi-results-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wmi-select-all-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.wmi-select-all-wrapper input[type="checkbox"] {
    cursor: pointer;
}

.wmi-selected-count {
    color: #666;
    font-size: 14px;
}

.wmi-results-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.wmi-result-item {
    position: relative;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wmi-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wmi-result-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
}

.wmi-result-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.9;
}

.wmi-result-checkbox input[type="checkbox"]:hover {
    opacity: 1;
}

.wmi-result-item img {
    width: 100%;
    height: auto;
    display: block;
}

.wmi-result-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.wmi-result-item:hover .wmi-result-overlay {
    opacity: 1;
    pointer-events: all;
}

.wmi-preview-btn,
.wmi-delete-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.wmi-preview-btn:hover {
    background: #2196F3;
    color: white;
    transform: scale(1.1);
}

.wmi-delete-btn:hover {
    background: #f44336;
    color: white;
    transform: scale(1.1);
}

.wmi-preview-btn .dashicons,
.wmi-delete-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.wmi-result-actions {
    padding: 10px;
    text-align: center;
    background: #fff;
}

.wmi-result-actions a {
    color: #2196F3;
    text-decoration: none;
    font-size: 14px;
}

.wmi-result-actions a:hover {
    text-decoration: underline;
}

/* Bulk Actions */
.wmi-bulk-actions {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.wmi-or-text {
    color: #999;
    font-size: 14px;
}

/* Preview Modal */
.wmi-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    z-index: 9999;
    padding: 20px;
}

.wmi-preview-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.wmi-preview-content img {
    max-width: 100%;
    max-height: calc(100% - 60px);
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.wmi-preview-info {
    color: white;
    margin-top: 20px;
    font-size: 16px;
    text-align: center;
}

.wmi-close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.wmi-close-modal:hover {
    color: #f44336;
}

/* Notices */
.wmi-frontend-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .wmi-form-row {
        grid-template-columns: 1fr;
    }
    
    .wmi-results-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .wmi-images-preview {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* Fullscreen Slideshow Modal for Frontend */
.wmi-frontend-slideshow {
    position: fixed;
    z-index: 9999999 !important;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmi-frontend-slideshow .wmi-modal-inner {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wmi-frontend-slideshow .wmi-slideshow-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.wmi-frontend-slideshow .wmi-modal-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    user-select: none;
    object-fit: contain;
    margin: 0 auto;
}

/* Slideshow Navigation */
.wmi-frontend-slideshow .wmi-slideshow-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    max-width: 90vw;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0;
}

.wmi-frontend-slideshow .wmi-slideshow-prev,
.wmi-frontend-slideshow .wmi-slideshow-next {
    pointer-events: all;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
}

.wmi-frontend-slideshow .wmi-slideshow-prev:hover,
.wmi-frontend-slideshow .wmi-slideshow-next:hover {
    background: white;
    transform: scale(1.1);
}

.wmi-frontend-slideshow .wmi-slideshow-prev:disabled,
.wmi-frontend-slideshow .wmi-slideshow-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.wmi-frontend-slideshow .wmi-slideshow-prev:disabled:hover,
.wmi-frontend-slideshow .wmi-slideshow-next:disabled:hover {
    transform: none;
}

/* Slideshow Counter */
.wmi-frontend-slideshow .wmi-slideshow-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Keyboard Hint */
.wmi-frontend-slideshow .wmi-keyboard-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    opacity: 0.8;
    pointer-events: none;
}

.wmi-frontend-slideshow .wmi-modal-close {
    position: absolute;
    right: -40px;
    top: -40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}

.wmi-frontend-slideshow .wmi-modal-close:hover {
    background: rgba(255,0,0,0.8);
}

.wmi-frontend-slideshow .wmi-modal-actions {
    text-align: center;
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.wmi-frontend-slideshow .wmi-download-btn {
    background: white;
    color: #333;
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.wmi-frontend-slideshow .wmi-download-btn:hover {
    background: #f0f0f0;
}

/* Fullscreen Mode Styles */
.wmi-frontend-slideshow:fullscreen {
    background-color: black;
}

.wmi-frontend-slideshow:fullscreen .wmi-modal-inner {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmi-frontend-slideshow:fullscreen .wmi-slideshow-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmi-frontend-slideshow:fullscreen .wmi-modal-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.wmi-frontend-slideshow:fullscreen .wmi-modal-close {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
}

.wmi-frontend-slideshow:fullscreen .wmi-slideshow-counter {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.wmi-frontend-slideshow:fullscreen .wmi-modal-actions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.wmi-frontend-slideshow:fullscreen .wmi-slideshow-nav {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: calc(100vw - 80px);
    padding: 0;
}

.wmi-frontend-slideshow:fullscreen .wmi-keyboard-hint {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}

/* Make result images clickable for preview */
.wmi-result-item img {
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}

.wmi-result-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 2;
}

/* Block all theme lightboxes when slideshow is active (like image generator) */
body.wmi-slideshow-active .lightbox,
body.wmi-slideshow-active .fancybox-overlay,
body.wmi-slideshow-active .fancybox-container,
body.wmi-slideshow-active .magnific-popup,
body.wmi-slideshow-active .photoswipe,
body.wmi-slideshow-active .swipebox-overlay,
body.wmi-slideshow-active .featherlight,
body.wmi-slideshow-active .prettyphoto,
body.wmi-slideshow-active .nivolightbox-overlay,
body.wmi-slideshow-active .colorbox,
body.wmi-slideshow-active .thickbox,
body.wmi-slideshow-active .wp-lightbox,
body.wmi-slideshow-active .et_pb_lightbox,
body.wmi-slideshow-active .avada-lightbox,
body.wmi-slideshow-active .fusion-lightbox,
body.wmi-slideshow-active .oceanwp-lightbox,
body.wmi-slideshow-active .astra-lightbox,
body.wmi-slideshow-active .generatepress-lightbox {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -1 !important;
}

/* NAP Settings and Preview Styles */
.wmi-nap-settings {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.wmi-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.wmi-checkbox-label input[type="checkbox"] {
    margin-right: 8px;
}

#wmi-nap-options {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}


/* NAP Input Fields */
.wmi-nap-inputs {
    margin-bottom: 20px;
}

.wmi-nap-inputs h5,
.wmi-qr-section h5,
.wmi-nap-styling h5 {
    margin: 15px 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.wmi-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.wmi-input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

/* QR Code Section */
.wmi-qr-section {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.wmi-qr-upload-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wmi-qr-preview img {
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
    border-radius: 4px;
}

/* Color Inputs */
.wmi-color-inputs {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.wmi-color-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.wmi-color-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.wmi-color-inputs input[type="color"] {
    width: 50px;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    padding: 2px;
    background: #fff;
}

.wmi-color-inputs input[type="color"]:hover {
    border-color: #2196F3;
}

.wmi-color-inputs input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.wmi-color-inputs input[type="color"]::-webkit-color-swatch {
    border: 1px solid #e0e0e0;
    border-radius: 2px;
}

.wmi-opacity-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wmi-opacity-group .wmi-color-label {
    margin-right: 5px;
}

/* Font Size Controls */
.wmi-font-sizes {
    margin-top: 20px;
}

.wmi-font-sizes h6 {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.wmi-font-sizes .wmi-form-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.wmi-font-sizes label:first-child {
    min-width: 120px;
    font-size: 13px;
}

.wmi-font-sizes input[type="range"] {
    flex: 1;
}

/* QR Position Grid */
.wmi-qr-positions {
    display: inline-grid !important;
    grid-template-columns: repeat(3, 50px) !important;
    gap: 8px !important;
}

.wmi-qr-positions span {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
}

/* Notifications */
.wmi-notification {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid;
    animation: slideIn 0.3s ease-out;
}

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

.wmi-notification-info {
    background: #e3f2fd;
    border-color: #2196F3;
    color: #1565C0;
}

.wmi-notification-success {
    background: #e8f5e9;
    border-color: #4CAF50;
    color: #2E7D32;
}

.wmi-notification-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.wmi-notification-error {
    background: #ffebee;
    border-color: #f44336;
    color: #c62828;
}

/* AI Features Section */
.wmi-ai-section {
    margin-bottom: 20px;
}

.wmi-ai-section h4 .dashicons {
    color: #4da6ff;
    margin-right: 5px;
    vertical-align: middle;
}

#wmi-ai-options {
    padding-left: 25px;
    margin-top: 10px;
}

/* NAP Alignment Controls */
.wmi-nap-alignment-controls {
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wmi-nap-alignment-controls h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.wmi-nap-alignment-controls label {
    cursor: pointer;
    font-weight: normal;
    margin-right: 15px;
}

.wmi-nap-alignment-controls input[type="radio"] {
    margin-right: 5px;
}

.wmi-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #2271b1;
    animation: wmi-spin 1s linear infinite;
}

@keyframes wmi-spin {
    to { transform: rotate(360deg); }
}