/**
 * Necudah Menu Icons Styles
 *
 * @package Necudah
 */

/* Admin Menu Editor Styles */
.field-necudah-icon {
    padding: 10px 0;
}

.necudah-select-icon-button {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.necudah-select-icon-button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.necudah-selected-icon-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 12px;
    background: #f0f0f1;
    border-radius: 4px;
}

.necudah-selected-icon-display-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.necudah-selected-icon-display-icon img {
    max-width: 24px;
    max-height: 24px;
}

.necudah-selected-icon-display-icon .dashicons,
.necudah-selected-icon-display-icon i {
    font-size: 20px;
}

.necudah-selected-icon-display-name {
    flex: 1;
    font-weight: 500;
}

.necudah-selected-icon-display-remove {
    background: none;
    border: none;
    color: #d63638;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
}

.necudah-selected-icon-display-remove:hover {
    color: #a00;
}

/* Frontend Menu Icon Styles */
.necudah-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

.necudah-menu-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.necudah-menu-icon .dashicons,
.necudah-menu-icon i {
    font-size: 16px;
    line-height: 1;
}

/* Adjust for specific menu contexts */
.main-navigation .necudah-menu-icon,
.primary-menu .necudah-menu-icon,
.menu-item .necudah-menu-icon {
    vertical-align: middle;
}

/* Mobile menu adjustments */
@media (max-width: 768px) {
    .necudah-menu-icon {
        margin-right: 8px;
    }

    .necudah-menu-icon img {
        width: 20px;
        height: 20px;
    }
}